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

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

Issue 16398011: Show ExtensionID->OriginSyncStatus in syncfs-internals WebUI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 6 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_SYNC_FILE_SYSTEM_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 public: 47 public:
48 // BrowserContextKeyedService overrides. 48 // BrowserContextKeyedService overrides.
49 virtual void Shutdown() OVERRIDE; 49 virtual void Shutdown() OVERRIDE;
50 50
51 void InitializeForApp( 51 void InitializeForApp(
52 fileapi::FileSystemContext* file_system_context, 52 fileapi::FileSystemContext* file_system_context,
53 const GURL& app_origin, 53 const GURL& app_origin,
54 const SyncStatusCallback& callback); 54 const SyncStatusCallback& callback);
55 55
56 SyncServiceState GetSyncServiceState(); 56 SyncServiceState GetSyncServiceState();
57 void GetExtensionStatusMap(std::map<GURL, std::string>* status_map);
57 58
58 // Returns the file |url|'s sync status. 59 // Returns the file |url|'s sync status.
59 void GetFileSyncStatus( 60 void GetFileSyncStatus(
60 const fileapi::FileSystemURL& url, 61 const fileapi::FileSystemURL& url,
61 const SyncFileStatusCallback& callback); 62 const SyncFileStatusCallback& callback);
62 63
63 void AddSyncEventObserver(SyncEventObserver* observer); 64 void AddSyncEventObserver(SyncEventObserver* observer);
64 void RemoveSyncEventObserver(SyncEventObserver* observer); 65 void RemoveSyncEventObserver(SyncEventObserver* observer);
65 66
66 ConflictResolutionPolicy GetConflictResolutionPolicy() const; 67 ConflictResolutionPolicy GetConflictResolutionPolicy() const;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 base::OneShotTimer<SyncFileSystemService> sync_retry_timer_; 170 base::OneShotTimer<SyncFileSystemService> sync_retry_timer_;
170 171
171 ObserverList<SyncEventObserver> observers_; 172 ObserverList<SyncEventObserver> observers_;
172 173
173 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); 174 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService);
174 }; 175 };
175 176
176 } // namespace sync_file_system 177 } // namespace sync_file_system
177 178
178 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ 179 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698