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

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

Issue 8596017: sync: rename ProfileSyncFactory to ProfileSyncComponentsFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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_mock.h
diff --git a/chrome/browser/sync/profile_sync_factory_mock.h b/chrome/browser/sync/profile_sync_components_factory_mock.h
similarity index 89%
rename from chrome/browser/sync/profile_sync_factory_mock.h
rename to chrome/browser/sync/profile_sync_components_factory_mock.h
index c6b07a0f2485652cd83cceae6eb24baea2c976ea..ca7b2d133e8c40e015fef5f60c207356dd6532f7 100644
--- a/chrome/browser/sync/profile_sync_factory_mock.h
+++ b/chrome/browser/sync/profile_sync_components_factory_mock.h
@@ -2,13 +2,13 @@
// 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_MOCK_H__
-#define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__
+#ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__
+#define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__
#pragma once
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/sync/profile_sync_service.h"
-#include "chrome/browser/sync/profile_sync_factory.h"
+#include "chrome/browser/sync/profile_sync_components_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace browser_sync {
@@ -16,13 +16,13 @@ class AssociatorInterface;
class ChangeProcessor;
}
-class ProfileSyncFactoryMock : public ProfileSyncFactory {
+class ProfileSyncComponentsFactoryMock : public ProfileSyncComponentsFactory {
public:
- ProfileSyncFactoryMock();
- ProfileSyncFactoryMock(
+ ProfileSyncComponentsFactoryMock();
+ ProfileSyncComponentsFactoryMock(
browser_sync::AssociatorInterface* model_associator,
browser_sync::ChangeProcessor* change_processor);
- virtual ~ProfileSyncFactoryMock();
+ virtual ~ProfileSyncComponentsFactoryMock();
MOCK_METHOD1(CreateProfileSyncService,
ProfileSyncService*(const std::string&));
@@ -93,4 +93,4 @@ class ProfileSyncFactoryMock : public ProfileSyncFactory {
scoped_ptr<browser_sync::ChangeProcessor> change_processor_;
};
-#endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__
+#endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__

Powered by Google App Engine
This is Rietveld 408576698