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

Side by Side Diff: chrome/browser/sync/profile_sync_components_factory_mock.h

Issue 9515010: Chrome on Android : Begin removing references to themes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/sync/glue/data_type_controller.h" 10 #include "chrome/browser/sync/glue/data_type_controller.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 SyncComponents(ProfileSyncService* profile_sync_service, 44 SyncComponents(ProfileSyncService* profile_sync_service,
45 browser_sync::DataTypeErrorHandler* error_handler)); 45 browser_sync::DataTypeErrorHandler* error_handler));
46 MOCK_METHOD3(CreatePasswordSyncComponents, 46 MOCK_METHOD3(CreatePasswordSyncComponents,
47 SyncComponents( 47 SyncComponents(
48 ProfileSyncService* profile_sync_service, 48 ProfileSyncService* profile_sync_service,
49 PasswordStore* password_store, 49 PasswordStore* password_store,
50 browser_sync::DataTypeErrorHandler* error_handler)); 50 browser_sync::DataTypeErrorHandler* error_handler));
51 MOCK_METHOD2(CreateSessionSyncComponents, 51 MOCK_METHOD2(CreateSessionSyncComponents,
52 SyncComponents(ProfileSyncService* profile_sync_service, 52 SyncComponents(ProfileSyncService* profile_sync_service,
53 browser_sync::DataTypeErrorHandler* error_handler)); 53 browser_sync::DataTypeErrorHandler* error_handler));
54 #if defined(ENABLE_THEMES)
54 MOCK_METHOD2(CreateThemeSyncComponents, 55 MOCK_METHOD2(CreateThemeSyncComponents,
55 SyncComponents(ProfileSyncService* profile_sync_service, 56 SyncComponents(ProfileSyncService* profile_sync_service,
56 browser_sync::DataTypeErrorHandler* error_handler)); 57 browser_sync::DataTypeErrorHandler* error_handler));
58 #endif
57 MOCK_METHOD3(CreateTypedUrlSyncComponents, 59 MOCK_METHOD3(CreateTypedUrlSyncComponents,
58 SyncComponents( 60 SyncComponents(
59 ProfileSyncService* profile_sync_service, 61 ProfileSyncService* profile_sync_service,
60 history::HistoryBackend* history_backend, 62 history::HistoryBackend* history_backend,
61 browser_sync::DataTypeErrorHandler* error_handler)); 63 browser_sync::DataTypeErrorHandler* error_handler));
62 64
63 private: 65 private:
64 SyncComponents MakeSyncComponents(); 66 SyncComponents MakeSyncComponents();
65 67
66 scoped_ptr<browser_sync::AssociatorInterface> model_associator_; 68 scoped_ptr<browser_sync::AssociatorInterface> model_associator_;
67 scoped_ptr<browser_sync::ChangeProcessor> change_processor_; 69 scoped_ptr<browser_sync::ChangeProcessor> change_processor_;
68 }; 70 };
69 71
70 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ 72 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_components_factory_impl.cc ('k') | chrome/browser/sync/profile_sync_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698