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

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

Issue 8869003: Move the "extension" namespace from extension_api.json into extension_api_extension.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 // Defines the Chrome Extensions Clear API functions, which entail 5 // Defines the Chrome Extensions Clear API functions, which entail
6 // clearing browsing data, and clearing the browser's cache (which, let's be 6 // clearing browsing data, and clearing the browser's cache (which, let's be
7 // honest, are the same thing), as specified in 7 // honest, are the same thing), as specified in
8 // chrome/common/extensions/api/extension_api.json. 8 // chrome/common/extensions/api/.
9 9
10 #include "chrome/browser/extensions/extension_clear_api.h" 10 #include "chrome/browser/extensions/extension_clear_api.h"
11 11
12 #include <string> 12 #include <string>
13 13
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/browser/browsing_data_remover.h" 15 #include "chrome/browser/browsing_data_remover.h"
16 #include "chrome/browser/extensions/extension_clear_api_constants.h" 16 #include "chrome/browser/extensions/extension_clear_api_constants.h"
17 #include "chrome/browser/plugin_data_remover_helper.h" 17 #include "chrome/browser/plugin_data_remover_helper.h"
18 #include "chrome/browser/plugin_prefs.h" 18 #include "chrome/browser/plugin_prefs.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 return BrowsingDataRemover::REMOVE_FORM_DATA; 171 return BrowsingDataRemover::REMOVE_FORM_DATA;
172 } 172 }
173 173
174 int ClearHistoryFunction::GetRemovalMask() const { 174 int ClearHistoryFunction::GetRemovalMask() const {
175 return BrowsingDataRemover::REMOVE_HISTORY; 175 return BrowsingDataRemover::REMOVE_HISTORY;
176 } 176 }
177 177
178 int ClearPasswordsFunction::GetRemovalMask() const { 178 int ClearPasswordsFunction::GetRemovalMask() const {
179 return BrowsingDataRemover::REMOVE_CACHE; 179 return BrowsingDataRemover::REMOVE_CACHE;
180 } 180 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698