Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: chrome/browser/sync/glue/sync_backend_host.h

Issue 13243003: Move MessageLoop to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/sync_backend_host.h
diff --git a/chrome/browser/sync/glue/sync_backend_host.h b/chrome/browser/sync/glue/sync_backend_host.h
index 32a235400ba40ff62da9dadf789a752d68e3d650..f32709e1cfa6647cc1f4e54d3da20d38d171ef09 100644
--- a/chrome/browser/sync/glue/sync_backend_host.h
+++ b/chrome/browser/sync/glue/sync_backend_host.h
@@ -34,9 +34,12 @@
#include "sync/protocol/encryption.pb.h"
#include "sync/protocol/sync_protocol_error.h"
-class MessageLoop;
class Profile;
+namespace base {
+class MessageLoop;
+}
+
namespace syncer {
class SyncManagerFactory;
}
@@ -307,7 +310,7 @@ class SyncBackendHost
struct DoInitializeOptions {
DoInitializeOptions(
- MessageLoop* sync_loop,
+ base::MessageLoop* sync_loop,
SyncBackendRegistrar* registrar,
const syncer::ModelSafeRoutingInfo& routing_info,
const std::vector<syncer::ModelSafeWorker*>& workers,
@@ -328,7 +331,7 @@ class SyncBackendHost
report_unrecoverable_error_function);
~DoInitializeOptions();
- MessageLoop* sync_loop;
+ base::MessageLoop* sync_loop;
SyncBackendRegistrar* registrar;
syncer::ModelSafeRoutingInfo routing_info;
std::vector<syncer::ModelSafeWorker*> workers;
@@ -509,7 +512,7 @@ class SyncBackendHost
// A reference to the MessageLoop used to construct |this|, so we know how
// to safely talk back to the SyncFrontend.
- MessageLoop* const frontend_loop_;
+ base::MessageLoop* const frontend_loop_;
Profile* const profile_;
« no previous file with comments | « chrome/browser/sync/glue/password_model_associator.h ('k') | chrome/browser/sync/glue/sync_backend_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698