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

Side by Side Diff: chrome/common/extensions/api/sync_file_system.idl

Issue 18323018: Linking AvailabilityFinder with APIDataSource and intro-table templates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase with master Created 7 years, 5 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
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/api_data_source.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Use the <code>chrome.syncFileSystem</code> API to save and synchronize data 5 // Use the <code>chrome.syncFileSystem</code> API to save and synchronize data
6 // on Google Drive. This API is NOT for accessing arbitrary user docs stored in 6 // on Google Drive. This API is NOT for accessing arbitrary user docs stored in
7 // Google Drive. It provides app-specific syncable storage for offline and 7 // Google Drive. It provides app-specific syncable storage for offline and
8 // caching usage so that the same data can be available across different 8 // caching usage so that the same data can be available across different
9 // clients. Read 9 // clients. Read <a href="app_storage.html">Manage Data</a> for more on using
10 // <a href="http://developer.chrome.com/trunk/apps/app_storage.html">Manage 10 // this API.
11 // Data</a> for more on using this API.
12 namespace syncFileSystem { 11 namespace syncFileSystem {
13 enum SyncAction { 12 enum SyncAction {
14 added, updated, deleted 13 added, updated, deleted
15 }; 14 };
16 15
17 enum ServiceStatus { 16 enum ServiceStatus {
18 // The sync service is being initialized (e.g. restoring data from the 17 // The sync service is being initialized (e.g. restoring data from the
19 // database, checking connectivity and authenticating to the service etc). 18 // database, checking connectivity and authenticating to the service etc).
20 initializing, 19 initializing,
21 20
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // Fired when an error or other status change has happened in the 178 // Fired when an error or other status change has happened in the
180 // sync backend (for example, when the sync is temporarily disabled due to 179 // sync backend (for example, when the sync is temporarily disabled due to
181 // network or authentication error). 180 // network or authentication error).
182 static void onServiceStatusChanged(ServiceInfo detail); 181 static void onServiceStatusChanged(ServiceInfo detail);
183 182
184 // Fired when a file has been updated by the background sync service. 183 // Fired when a file has been updated by the background sync service.
185 static void onFileStatusChanged(FileInfo detail); 184 static void onFileStatusChanged(FileInfo detail);
186 }; 185 };
187 186
188 }; 187 };
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/server2/api_data_source.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698