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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving logic into availability_data_source Created 7 years, 8 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
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
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
8 // caching usage so that the same data can be available across different
9 // clients. Read
10 // <a href="http://developer.chrome.com/trunk/apps/app_storage.html">Manage
11 // Data</a> for more on using this API.
12
5 namespace syncFileSystem { 13 namespace syncFileSystem {
6 enum SyncAction { 14 enum SyncAction {
7 added, updated, deleted 15 added, updated, deleted
8 }; 16 };
9 17
10 enum ServiceStatus { 18 enum ServiceStatus {
11 // The sync service is being initialized (e.g. restoring data from the 19 // The sync service is being initialized (e.g. restoring data from the
12 // database, checking connectivity and authenticating to the service etc). 20 // database, checking connectivity and authenticating to the service etc).
13 initializing, 21 initializing,
14 22
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // Fired when an error or other status change has happened in the 180 // Fired when an error or other status change has happened in the
173 // sync backend (for example, when the sync is temporarily disabled due to 181 // sync backend (for example, when the sync is temporarily disabled due to
174 // network or authentication error). 182 // network or authentication error).
175 static void onServiceStatusChanged(ServiceInfo detail); 183 static void onServiceStatusChanged(ServiceInfo detail);
176 184
177 // Fired when a file has been updated by the background sync service. 185 // Fired when a file has been updated by the background sync service.
178 static void onFileStatusChanged(FileInfo detail); 186 static void onFileStatusChanged(FileInfo detail);
179 }; 187 };
180 188
181 }; 189 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698