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

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

Issue 7551008: Strawman proposal for chrome.experimental.clear.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License presubmit check. :( Created 9 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/extensions/extension_clear_api_constants.h"
6
7 namespace extension_clear_api_constants {
8
9 // Keys.
10 const char kCacheKey[] = "cache";
11 const char kCookiesKey[] = "cookies";
12 const char kDownloadsKey[] = "downloads";
13 const char kFormDataKey[] = "formData";
14 const char kHistoryKey[] = "history";
15 const char kPasswordsKey[] = "passwords";
16
17 // Timeframe "enum" values.
18 const char kHourEnum[] = "last_hour";
19 const char kDayEnum[] = "last_day";
20 const char kWeekEnum[] = "last_week";
21 const char kMonthEnum[] = "last_month";
22 const char kEverythingEnum[] = "everything";
23
24 // Errors!
25 const char kOneAtATimeError[] = "Only one 'clear' API call can run at a time.";
26
27 } // namespace extension_clear_api_constants
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_clear_api_constants.h ('k') | chrome/browser/extensions/extension_clear_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698