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

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

Issue 3133022: sync: take two for: "Added classes to enable session sync... (Closed)
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
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));
55 MOCK_METHOD2(CreateThemeSyncComponents, 58 MOCK_METHOD2(CreateThemeSyncComponents,
56 SyncComponents(ProfileSyncService* profile_sync_service, 59 SyncComponents(ProfileSyncService* profile_sync_service,
57 browser_sync::UnrecoverableErrorHandler* error_handler)); 60 browser_sync::UnrecoverableErrorHandler* error_handler));
58 MOCK_METHOD3(CreateTypedUrlSyncComponents, 61 MOCK_METHOD3(CreateTypedUrlSyncComponents,
59 SyncComponents( 62 SyncComponents(
60 ProfileSyncService* profile_sync_service, 63 ProfileSyncService* profile_sync_service,
61 history::HistoryBackend* history_backend, 64 history::HistoryBackend* history_backend,
62 browser_sync::UnrecoverableErrorHandler* error_handler)); 65 browser_sync::UnrecoverableErrorHandler* error_handler));
63 66
64 private: 67 private:
65 SyncComponents MakeBookmarkSyncComponents(); 68 SyncComponents MakeBookmarkSyncComponents();
66 69
67 scoped_ptr<browser_sync::AssociatorInterface> bookmark_model_associator_; 70 scoped_ptr<browser_sync::AssociatorInterface> bookmark_model_associator_;
68 scoped_ptr<browser_sync::ChangeProcessor> bookmark_change_processor_; 71 scoped_ptr<browser_sync::ChangeProcessor> bookmark_change_processor_;
69 }; 72 };
70 73
71 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_MOCK_H__ 74 #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