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

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

Issue 7669052: Added DataTypeController integration and UI surfacing for syncing Search Engines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixed notification registration. Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FACTORY_MOCK_H__ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_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/profile_sync_service.h" 10 #include "chrome/browser/sync/profile_sync_service.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 SyncComponents(ProfileSyncService* profile_sync_service, 64 SyncComponents(ProfileSyncService* profile_sync_service,
65 browser_sync::UnrecoverableErrorHandler* error_handler)); 65 browser_sync::UnrecoverableErrorHandler* error_handler));
66 MOCK_METHOD2(CreateThemeSyncComponents, 66 MOCK_METHOD2(CreateThemeSyncComponents,
67 SyncComponents(ProfileSyncService* profile_sync_service, 67 SyncComponents(ProfileSyncService* profile_sync_service,
68 browser_sync::UnrecoverableErrorHandler* error_handler)); 68 browser_sync::UnrecoverableErrorHandler* error_handler));
69 MOCK_METHOD3(CreateTypedUrlSyncComponents, 69 MOCK_METHOD3(CreateTypedUrlSyncComponents,
70 SyncComponents( 70 SyncComponents(
71 ProfileSyncService* profile_sync_service, 71 ProfileSyncService* profile_sync_service,
72 history::HistoryBackend* history_backend, 72 history::HistoryBackend* history_backend,
73 browser_sync::UnrecoverableErrorHandler* error_handler)); 73 browser_sync::UnrecoverableErrorHandler* error_handler));
74 MOCK_METHOD2(CreateSearchEngineSyncComponents,
75 SyncComponents(
76 ProfileSyncService* profile_sync_service,
77 browser_sync::UnrecoverableErrorHandler* error_handler));
74 78
75 private: 79 private:
76 SyncComponents MakeBookmarkSyncComponents(); 80 SyncComponents MakeBookmarkSyncComponents();
77 81
78 scoped_ptr<browser_sync::AssociatorInterface> bookmark_model_associator_; 82 scoped_ptr<browser_sync::AssociatorInterface> bookmark_model_associator_;
79 scoped_ptr<browser_sync::ChangeProcessor> bookmark_change_processor_; 83 scoped_ptr<browser_sync::ChangeProcessor> bookmark_change_processor_;
80 }; 84 };
81 85
82 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__ 86 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_factory_impl.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698