EDK: Move ref counting classes to mojo/edk/util.
(In particular, RefPtr<T> and RefCountedThreadSafe<T>.)
The embedder API will use RefPtr<T> in its interface (replacing the
current use of scoped_refptr<T>), and we don't want to expose things in
mojo/edk/system to embedders.
Note: As a general rule, in .cc files in mojo/edk/system, I always used
|using mojo::util::RefPtr| (since |util::RefPtr| is very tiresome; I did
it everywhere for consistency).
R=vardhan@google.com
Review URL: https://codereview.chromium.org/1423713009 .
diff --git a/mojo/edk/embedder/system_impl_private_entrypoints.cc b/mojo/edk/embedder/system_impl_private_entrypoints.cc
index 59a32f2..e772165 100644
--- a/mojo/edk/embedder/system_impl_private_entrypoints.cc
+++ b/mojo/edk/embedder/system_impl_private_entrypoints.cc
@@ -6,7 +6,7 @@
#include "mojo/edk/embedder/embedder_internal.h"
#include "mojo/edk/system/core.h"
#include "mojo/edk/system/dispatcher.h"
-#include "mojo/edk/system/ref_ptr.h"
+#include "mojo/edk/util/ref_ptr.h"
#include "mojo/public/c/system/buffer.h"
#include "mojo/public/c/system/data_pipe.h"
#include "mojo/public/c/system/functions.h"
@@ -17,7 +17,7 @@
using mojo::system::Core;
using mojo::system::Dispatcher;
using mojo::system::MakeUserPointer;
-using mojo::system::RefPtr;
+using mojo::util::RefPtr;
// Definitions of the system functions, but with an explicit parameter for the
// core object rather than using the default singleton. Also includes functions