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

Side by Side Diff: chrome/browser/sync_file_system/remote_file_sync_service.h

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 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 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_REMOTE_FILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_REMOTE_FILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_REMOTE_FILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_REMOTE_FILE_SYNC_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 10 matching lines...) Expand all
21 class GURL; 21 class GURL;
22 22
23 namespace base { 23 namespace base {
24 class ListValue; 24 class ListValue;
25 } 25 }
26 26
27 namespace content { 27 namespace content {
28 class BrowserContext; 28 class BrowserContext;
29 } 29 }
30 30
31 namespace webkit_blob { 31 namespace storage {
32 class ScopedFile; 32 class ScopedFile;
33 } 33 }
34 34
35 namespace sync_file_system { 35 namespace sync_file_system {
36 36
37 class FileStatusObserver; 37 class FileStatusObserver;
38 class LocalChangeProcessor; 38 class LocalChangeProcessor;
39 class RemoteChangeProcessor; 39 class RemoteChangeProcessor;
40 class TaskLogger; 40 class TaskLogger;
41 41
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 // For GetOriginStatusMap. 116 // For GetOriginStatusMap.
117 typedef std::map<GURL, std::string> OriginStatusMap; 117 typedef std::map<GURL, std::string> OriginStatusMap;
118 typedef base::Callback<void(scoped_ptr<OriginStatusMap> status_map)> 118 typedef base::Callback<void(scoped_ptr<OriginStatusMap> status_map)>
119 StatusMapCallback; 119 StatusMapCallback;
120 120
121 // For GetRemoteVersions. 121 // For GetRemoteVersions.
122 typedef base::Callback<void(SyncStatusCode status, 122 typedef base::Callback<void(SyncStatusCode status,
123 const std::vector<Version>& versions)> 123 const std::vector<Version>& versions)>
124 RemoteVersionsCallback; 124 RemoteVersionsCallback;
125 typedef base::Callback<void(SyncStatusCode status, 125 typedef base::Callback<
126 webkit_blob::ScopedFile downloaded)> 126 void(SyncStatusCode status, storage::ScopedFile downloaded)>
127 DownloadVersionCallback; 127 DownloadVersionCallback;
128 128
129 // For DumpFile. 129 // For DumpFile.
130 typedef base::Callback<void(scoped_ptr<base::ListValue> list)> ListCallback; 130 typedef base::Callback<void(scoped_ptr<base::ListValue> list)> ListCallback;
131 131
132 // Creates an initialized RemoteFileSyncService for backend |version| 132 // Creates an initialized RemoteFileSyncService for backend |version|
133 // for |context|. 133 // for |context|.
134 static scoped_ptr<RemoteFileSyncService> CreateForBrowserContext( 134 static scoped_ptr<RemoteFileSyncService> CreateForBrowserContext(
135 content::BrowserContext* context, 135 content::BrowserContext* context,
136 TaskLogger* task_logger); 136 TaskLogger* task_logger);
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 213
214 virtual void PromoteDemotedChanges(const base::Closure& callback) = 0; 214 virtual void PromoteDemotedChanges(const base::Closure& callback) = 0;
215 215
216 private: 216 private:
217 DISALLOW_COPY_AND_ASSIGN(RemoteFileSyncService); 217 DISALLOW_COPY_AND_ASSIGN(RemoteFileSyncService);
218 }; 218 };
219 219
220 } // namespace sync_file_system 220 } // namespace sync_file_system
221 221
222 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_REMOTE_FILE_SYNC_SERVICE_H_ 222 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_REMOTE_FILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/remote_change_processor.h ('k') | chrome/browser/sync_file_system/subtree_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698