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

Side by Side Diff: sync/internal_api/public/internal_components_factory_impl.h

Issue 10455012: [Sync] Add support for performing a GetKey on startup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fred's comments Created 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // An InternalComponentsFactory implementation designed for real production / 5 // An InternalComponentsFactory implementation designed for real production /
6 // normal use. 6 // normal use.
7 7
8 #ifndef SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ 8 #ifndef SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
9 #define SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ 9 #define SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
10 10
(...skipping 11 matching lines...) Expand all
22 sessions::SyncSessionContext* context) OVERRIDE; 22 sessions::SyncSessionContext* context) OVERRIDE;
23 23
24 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext( 24 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext(
25 ServerConnectionManager* connection_manager, 25 ServerConnectionManager* connection_manager,
26 syncable::Directory* directory, 26 syncable::Directory* directory,
27 const std::vector<ModelSafeWorker*> workers, 27 const std::vector<ModelSafeWorker*> workers,
28 ExtensionsActivityMonitor* monitor, 28 ExtensionsActivityMonitor* monitor,
29 ThrottledDataTypeTracker* throttled_data_type_tracker, 29 ThrottledDataTypeTracker* throttled_data_type_tracker,
30 const std::vector<SyncEngineEventListener*>& listeners, 30 const std::vector<SyncEngineEventListener*>& listeners,
31 sessions::DebugInfoGetter* debug_info_getter, 31 sessions::DebugInfoGetter* debug_info_getter,
32 TrafficRecorder* traffic_recorder) OVERRIDE; 32 TrafficRecorder* traffic_recorder,
33 bool keystore_encryption_enabled) OVERRIDE;
33 34
34 virtual scoped_ptr<syncable::DirectoryBackingStore> 35 virtual scoped_ptr<syncable::DirectoryBackingStore>
35 BuildDirectoryBackingStore( 36 BuildDirectoryBackingStore(
36 const std::string& dir_name, 37 const std::string& dir_name,
37 const FilePath& backing_filepath) OVERRIDE; 38 const FilePath& backing_filepath) OVERRIDE;
38 39
39 private: 40 private:
40 DISALLOW_COPY_AND_ASSIGN(InternalComponentsFactoryImpl); 41 DISALLOW_COPY_AND_ASSIGN(InternalComponentsFactoryImpl);
41 }; 42 };
42 43
43 } // namespace syncer 44 } // namespace syncer
44 45
45 #endif // SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_ 46 #endif // SYNC_INTERNAL_API_PUBLIC_INTERNAL_COMPONENTS_FACTORY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698