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

Side by Side Diff: chrome/browser/sync/glue/data_type_manager.h

Issue 7669073: [Sync] Add support for enabling session sync remotely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 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) 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_GLUE_DATA_TYPE_MANAGER_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_H__
6 #define CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_H__
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 virtual void ConfigureWithoutNigori(const TypeSet& desired_types, 87 virtual void ConfigureWithoutNigori(const TypeSet& desired_types,
88 sync_api::ConfigureReason reason) = 0; 88 sync_api::ConfigureReason reason) = 0;
89 89
90 // Synchronously stops all registered data types. If called after 90 // Synchronously stops all registered data types. If called after
91 // Configure() is called but before it finishes, it will abort the 91 // Configure() is called but before it finishes, it will abort the
92 // configure and any data types that have been started will be 92 // configure and any data types that have been started will be
93 // stopped. 93 // stopped.
94 virtual void Stop() = 0; 94 virtual void Stop() = 0;
95 95
96 // Reference to map of data type controllers.
97 virtual const DataTypeController::TypeMap& controllers() = 0;
98
99 // The current state of the data type manager. 96 // The current state of the data type manager.
100 virtual State state() = 0; 97 virtual State state() = 0;
101 }; 98 };
102 99
103 } // namespace browser_sync 100 } // namespace browser_sync
104 101
105 #endif // CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_H__ 102 #endif // CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_H__
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/glue/data_type_manager_impl.h » ('j') | chrome/browser/sync/glue/data_type_manager_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698