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

Unified Diff: chrome/browser/sync/profile_sync_components_factory.h

Issue 8596017: sync: rename ProfileSyncFactory to ProfileSyncComponentsFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final Created 9 years, 1 month 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/profile_sync_components_factory.h
diff --git a/chrome/browser/sync/profile_sync_factory.h b/chrome/browser/sync/profile_sync_components_factory.h
similarity index 95%
rename from chrome/browser/sync/profile_sync_factory.h
rename to chrome/browser/sync/profile_sync_components_factory.h
index 17c4a141794a7b9f9ed2d4ffdb77297b12db7eeb..df36125fcab0dd7db5c07c28e20979227fa9a7ab 100644
--- a/chrome/browser/sync/profile_sync_factory.h
+++ b/chrome/browser/sync/profile_sync_components_factory.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
-#define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
+#ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__
+#define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__
#pragma once
#include <string>
@@ -31,7 +31,7 @@ class HistoryBackend;
};
// Factory class for all profile sync related classes.
-class ProfileSyncFactory {
+class ProfileSyncComponentsFactory {
public:
// The various factory methods for the data type model associators
// and change processors all return this struct. This is needed
@@ -54,10 +54,12 @@ class ProfileSyncFactory {
: model_associator(ma), change_processor(cp) {}
};
- virtual ~ProfileSyncFactory() {}
+ virtual ~ProfileSyncComponentsFactory() {}
// Instantiates a new ProfileSyncService. The return pointer is owned by the
// caller.
+ // TODO(tim): Bug 93922. Remove this method in favor of a
+ // ProfileSyncServiceFactory singleton.
virtual ProfileSyncService* CreateProfileSyncService(
const std::string& cros_user) = 0;
@@ -176,4 +178,4 @@ class ProfileSyncFactory {
browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
};
-#endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
+#endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__
« no previous file with comments | « chrome/browser/sync/glue/typed_url_data_type_controller.cc ('k') | chrome/browser/sync/profile_sync_components_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698