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

Side by Side Diff: chrome/browser/extensions/api/browsingdata/browsing_data_api.cc

Issue 9424036: Move `browsingData` extension API out of experimental. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebuilt docs. Created 8 years, 10 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) 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 // Defines the Chrome Extensions BrowsingData API functions, which entail 5 // Defines the Chrome Extensions BrowsingData 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 the extension API JSON. 7 // honest, are the same thing), as specified in the extension API JSON.
8 8
9 #include "chrome/browser/extensions/extension_browsing_data_api.h" 9 #include "chrome/browser/extensions/api/browsingdata/browsing_data_api.h"
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "chrome/browser/browsing_data_remover.h" 14 #include "chrome/browser/browsing_data_remover.h"
15 #include "chrome/browser/plugin_data_remover_helper.h" 15 #include "chrome/browser/plugin_data_remover_helper.h"
16 #include "chrome/browser/plugin_prefs.h" 16 #include "chrome/browser/plugin_prefs.h"
17 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/browser/ui/browser_list.h" 18 #include "chrome/browser/ui/browser_list.h"
19 #include "chrome/common/extensions/extension.h" 19 #include "chrome/common/extensions/extension.h"
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 return BrowsingDataRemover::REMOVE_PLUGIN_DATA; 232 return BrowsingDataRemover::REMOVE_PLUGIN_DATA;
233 } 233 }
234 234
235 int RemovePasswordsFunction::GetRemovalMask() const { 235 int RemovePasswordsFunction::GetRemovalMask() const {
236 return BrowsingDataRemover::REMOVE_PASSWORDS; 236 return BrowsingDataRemover::REMOVE_PASSWORDS;
237 } 237 }
238 238
239 int RemoveWebSQLFunction::GetRemovalMask() const { 239 int RemoveWebSQLFunction::GetRemovalMask() const {
240 return BrowsingDataRemover::REMOVE_WEBSQL; 240 return BrowsingDataRemover::REMOVE_WEBSQL;
241 } 241 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698