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

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: Addressing comments - Patch currently being broken up 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
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.
5 namespace syncFileSystem { 12 namespace syncFileSystem {
6 enum SyncAction { 13 enum SyncAction {
7 added, updated, deleted 14 added, updated, deleted
8 }; 15 };
9 16
10 enum ServiceStatus { 17 enum ServiceStatus {
11 // The sync service is being initialized (e.g. restoring data from the 18 // The sync service is being initialized (e.g. restoring data from the
12 // database, checking connectivity and authenticating to the service etc). 19 // database, checking connectivity and authenticating to the service etc).
13 initializing, 20 initializing,
14 21
(...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 179 // 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 180 // sync backend (for example, when the sync is temporarily disabled due to
174 // network or authentication error). 181 // network or authentication error).
175 static void onServiceStatusChanged(ServiceInfo detail); 182 static void onServiceStatusChanged(ServiceInfo detail);
176 183
177 // Fired when a file has been updated by the background sync service. 184 // Fired when a file has been updated by the background sync service.
178 static void onFileStatusChanged(FileInfo detail); 185 static void onFileStatusChanged(FileInfo detail);
179 }; 186 };
180 187
181 }; 188 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/storage.json ('k') | chrome/common/extensions/api/system_info_cpu.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698