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

Side by Side Diff: chrome/browser/sync/profile_sync_factory.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_H__ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
7 #pragma once 7 #pragma once
8 8
9 #include <utility> 9 #include <utility>
10 #include "base/task.h" 10 #include "base/task.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 ProfileSyncService* profile_sync_service, 109 ProfileSyncService* profile_sync_service,
110 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; 110 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
111 111
112 // Instantiates both a model associator and change processor for the 112 // Instantiates both a model associator and change processor for the
113 // typed_url data type. The pointers in the return struct are owned 113 // typed_url data type. The pointers in the return struct are owned
114 // by the caller. 114 // by the caller.
115 virtual SyncComponents CreateTypedUrlSyncComponents( 115 virtual SyncComponents CreateTypedUrlSyncComponents(
116 ProfileSyncService* profile_sync_service, 116 ProfileSyncService* profile_sync_service,
117 history::HistoryBackend* history_backend, 117 history::HistoryBackend* history_backend,
118 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; 118 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
119
120 // Instantiates both a model associator and change processor for the
121 // session data type. The pointers in the return struct are
122 // owned by the caller.
123 virtual SyncComponents CreateSessionSyncComponents(
124 ProfileSyncService* profile_sync_service,
125 browser_sync::UnrecoverableErrorHandler* error_handler) = 0;
119 }; 126 };
120 127
121 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ 128 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/session_model_associator.cc ('k') | chrome/browser/sync/profile_sync_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698