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

Side by Side Diff: chrome/browser/extensions/extension_clear_api_constants.cc

Issue 8008012: chrome.clear: Increasing granularity of public API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/extensions/extension_clear_api_constants.h" 5 #include "chrome/browser/extensions/extension_clear_api_constants.h"
6 6
7 namespace extension_clear_api_constants { 7 namespace extension_clear_api_constants {
8 8
9 // Keys. 9 // Keys.
10 const char kAppCacheKey[] = "appcache";
10 const char kCacheKey[] = "cache"; 11 const char kCacheKey[] = "cache";
11 const char kCookiesKey[] = "cookies"; 12 const char kCookiesKey[] = "cookies";
12 const char kDownloadsKey[] = "downloads"; 13 const char kDownloadsKey[] = "downloads";
14 const char kFileSystemsKey[] = "fileSystems";
13 const char kFormDataKey[] = "formData"; 15 const char kFormDataKey[] = "formData";
14 const char kHistoryKey[] = "history"; 16 const char kHistoryKey[] = "history";
17 const char kIndexedDBKey[] = "indexedDB";
18 const char kLSODataKey[] = "lsoData";
19 const char kLocalStorageKey[] = "localStorage";
15 const char kPasswordsKey[] = "passwords"; 20 const char kPasswordsKey[] = "passwords";
21 const char kWebSQLKey[] = "webSQL";
16 22
17 // Timeframe "enum" values. 23 // Timeframe "enum" values.
18 const char kHourEnum[] = "last_hour"; 24 const char kHourEnum[] = "last_hour";
19 const char kDayEnum[] = "last_day"; 25 const char kDayEnum[] = "last_day";
20 const char kWeekEnum[] = "last_week"; 26 const char kWeekEnum[] = "last_week";
21 const char kMonthEnum[] = "last_month"; 27 const char kMonthEnum[] = "last_month";
22 const char kEverythingEnum[] = "everything"; 28 const char kEverythingEnum[] = "everything";
23 29
24 // Errors! 30 // Errors!
25 const char kOneAtATimeError[] = "Only one 'clear' API call can run at a time."; 31 const char kOneAtATimeError[] = "Only one 'clear' API call can run at a time.";
26 32
27 } // namespace extension_clear_api_constants 33 } // namespace extension_clear_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698