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

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

Issue 3127017: Revert 56423 - Added classes to enable session sync functionality.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/sync/profile_sync_service.h" 10 #include "chrome/browser/sync/profile_sync_service.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 SyncComponents(ProfileSyncService* profile_sync_service, 45 SyncComponents(ProfileSyncService* profile_sync_service,
46 browser_sync::UnrecoverableErrorHandler* error_handler)); 46 browser_sync::UnrecoverableErrorHandler* error_handler));
47 MOCK_METHOD3(CreatePasswordSyncComponents, 47 MOCK_METHOD3(CreatePasswordSyncComponents,
48 SyncComponents( 48 SyncComponents(
49 ProfileSyncService* profile_sync_service, 49 ProfileSyncService* profile_sync_service,
50 PasswordStore* password_store, 50 PasswordStore* password_store,
51 browser_sync::UnrecoverableErrorHandler* error_handler)); 51 browser_sync::UnrecoverableErrorHandler* error_handler));
52 MOCK_METHOD2(CreatePreferenceSyncComponents, 52 MOCK_METHOD2(CreatePreferenceSyncComponents,
53 SyncComponents(ProfileSyncService* profile_sync_service, 53 SyncComponents(ProfileSyncService* profile_sync_service,
54 browser_sync::UnrecoverableErrorHandler* error_handler)); 54 browser_sync::UnrecoverableErrorHandler* error_handler));
55 MOCK_METHOD2(CreateSessionSyncComponents,
56 SyncComponents(ProfileSyncService* profile_sync_service,
57 browser_sync::UnrecoverableErrorHandler* error_handler));
58 MOCK_METHOD2(CreateThemeSyncComponents, 55 MOCK_METHOD2(CreateThemeSyncComponents,
59 SyncComponents(ProfileSyncService* profile_sync_service, 56 SyncComponents(ProfileSyncService* profile_sync_service,
60 browser_sync::UnrecoverableErrorHandler* error_handler)); 57 browser_sync::UnrecoverableErrorHandler* error_handler));
61 MOCK_METHOD3(CreateTypedUrlSyncComponents, 58 MOCK_METHOD3(CreateTypedUrlSyncComponents,
62 SyncComponents( 59 SyncComponents(
63 ProfileSyncService* profile_sync_service, 60 ProfileSyncService* profile_sync_service,
64 history::HistoryBackend* history_backend, 61 history::HistoryBackend* history_backend,
65 browser_sync::UnrecoverableErrorHandler* error_handler)); 62 browser_sync::UnrecoverableErrorHandler* error_handler));
66 63
67 private: 64 private:
68 SyncComponents MakeBookmarkSyncComponents(); 65 SyncComponents MakeBookmarkSyncComponents();
69 66
70 scoped_ptr<browser_sync::AssociatorInterface> bookmark_model_associator_; 67 scoped_ptr<browser_sync::AssociatorInterface> bookmark_model_associator_;
71 scoped_ptr<browser_sync::ChangeProcessor> bookmark_change_processor_; 68 scoped_ptr<browser_sync::ChangeProcessor> bookmark_change_processor_;
72 }; 69 };
73 70
74 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__ 71 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_factory_impl_unittest.cc ('k') | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698