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

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

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the previous fix Created 9 years, 8 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_IMPL_H__ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 virtual SyncComponents CreateExtensionSyncComponents( 52 virtual SyncComponents CreateExtensionSyncComponents(
53 ProfileSyncService* profile_sync_service, 53 ProfileSyncService* profile_sync_service,
54 browser_sync::UnrecoverableErrorHandler* error_handler); 54 browser_sync::UnrecoverableErrorHandler* error_handler);
55 55
56 virtual SyncComponents CreatePasswordSyncComponents( 56 virtual SyncComponents CreatePasswordSyncComponents(
57 ProfileSyncService* profile_sync_service, 57 ProfileSyncService* profile_sync_service,
58 PasswordStore* password_store, 58 PasswordStore* password_store,
59 browser_sync::UnrecoverableErrorHandler* error_handler); 59 browser_sync::UnrecoverableErrorHandler* error_handler);
60 60
61 virtual SyncComponents CreatePreferenceSyncComponents(
62 ProfileSyncService* profile_sync_service,
63 browser_sync::UnrecoverableErrorHandler* error_handler);
64
65 virtual SyncComponents CreateThemeSyncComponents( 61 virtual SyncComponents CreateThemeSyncComponents(
66 ProfileSyncService* profile_sync_service, 62 ProfileSyncService* profile_sync_service,
67 browser_sync::UnrecoverableErrorHandler* error_handler); 63 browser_sync::UnrecoverableErrorHandler* error_handler);
68 64
69 virtual SyncComponents CreateTypedUrlSyncComponents( 65 virtual SyncComponents CreateTypedUrlSyncComponents(
70 ProfileSyncService* profile_sync_service, 66 ProfileSyncService* profile_sync_service,
71 history::HistoryBackend* history_backend, 67 history::HistoryBackend* history_backend,
72 browser_sync::UnrecoverableErrorHandler* error_handler); 68 browser_sync::UnrecoverableErrorHandler* error_handler);
73 69
74 virtual SyncComponents CreateSessionSyncComponents( 70 virtual SyncComponents CreateSessionSyncComponents(
75 ProfileSyncService* profile_sync_service, 71 ProfileSyncService* profile_sync_service,
76 browser_sync::UnrecoverableErrorHandler* error_handler); 72 browser_sync::UnrecoverableErrorHandler* error_handler);
77 73
78 private: 74 private:
79 Profile* profile_; 75 Profile* profile_;
80 CommandLine* command_line_; 76 CommandLine* command_line_;
81 77
82 DISALLOW_COPY_AND_ASSIGN(ProfileSyncFactoryImpl); 78 DISALLOW_COPY_AND_ASSIGN(ProfileSyncFactoryImpl);
83 }; 79 };
84 80
85 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ 81 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698