Make //mojo/common less of a dumping ground
This splits most of the loosely coupled code in //mojo/common out into
topical locations thusly:
data_pipe_utils -> //mojo/data_pipe_utils
message_pump_mojo & handle_watcher -> //mojo/message_pump
mojo::Array <-> std::string converters -> //mojo/converters/array_string
base type converters (string16/stringpiece) -> //mojo/converters/base
url type converters -> //mojo/converters/url
and updates many references to only depend on the bit they are actually
using. The unit tests are moved to live next to their code (in
source_sets) but are still linked into mojo_common_unittests. This
patch doesn't change the namespace of anything to minimize actual code churn.
binding_set, interface_ptr_set and task_tracker are still in the
//mojo/common target and some other files in random targets are still
in the //mojo/common directory. Some (or possibly all) of these will
likely move to other locations in future patches.
R=viettrungluu@chromium.org
Review URL: https://codereview.chromium.org/1306923003 .
diff --git a/shell/android/android_handler.cc b/shell/android/android_handler.cc
index 170e0fc..9523446 100644
--- a/shell/android/android_handler.cc
+++ b/shell/android/android_handler.cc
@@ -17,7 +17,7 @@
#include "base/strings/string_number_conversions.h"
#include "base/trace_event/trace_event.h"
#include "jni/AndroidHandler_jni.h"
-#include "mojo/common/data_pipe_utils.h"
+#include "mojo/data_pipe_utils/data_pipe_utils.h"
#include "mojo/public/c/system/main.h"
#include "mojo/public/cpp/application/application_impl.h"
#include "shell/android/run_android_application_function.h"