From ecf3fdda1501e412741f6f7c8585c1fb21b94752 Mon Sep 17 00:00:00 2001
From: Pawel Andruszkiewicz
Date: Thu, 11 Jun 2015 13:19:41 +0200
Subject: [PATCH] [Common] Code of tools extracted to separate file.
Change-Id: I8246664a7485a10ce68c64de992c6b13b116a3f4
Signed-off-by: Pawel Andruszkiewicz
---
src/common/common.gyp | 2 +
src/common/extension.cc | 256 ------------------------------------
src/common/extension.h | 39 +-----
src/common/tools.cc | 278 ++++++++++++++++++++++++++++++++++++++++
src/common/tools.h | 66 ++++++++++
5 files changed, 349 insertions(+), 292 deletions(-)
create mode 100644 src/common/tools.cc
create mode 100644 src/common/tools.h
diff --git a/src/common/common.gyp b/src/common/common.gyp
index 24337873..aa994f24 100644
--- a/src/common/common.gyp
+++ b/src/common/common.gyp
@@ -31,6 +31,8 @@
'scope_exit.h',
'task-queue.cpp',
'task-queue.h',
+ 'tools.cc',
+ 'tools.h',
'callback_user_data.cc',
'callback_user_data.h',
'optional.h',
diff --git a/src/common/extension.cc b/src/common/extension.cc
index 0e523a2c..c47986db 100755
--- a/src/common/extension.cc
+++ b/src/common/extension.cc
@@ -11,19 +11,7 @@
#include
#include