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

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

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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 // 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/api/browsing_data/browsing_data_api.h" 9 #include "chrome/browser/extensions/api/browsing_data/browsing_data_api.h"
10 10
11 #include <string> 11 #include <string>
12 #include <utility> 12 #include <utility>
13 13
14 #include "base/strings/stringprintf.h"
15 #include "base/values.h" 14 #include "base/values.h"
16 #include "chrome/browser/browsing_data/browsing_data_helper.h" 15 #include "chrome/browser/browsing_data/browsing_data_helper.h"
17 #include "chrome/browser/browsing_data/browsing_data_remover.h" 16 #include "chrome/browser/browsing_data/browsing_data_remover.h"
18 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" 17 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h"
19 #include "chrome/browser/plugins/plugin_data_remover_helper.h" 18 #include "chrome/browser/plugins/plugin_data_remover_helper.h"
20 #include "chrome/browser/plugins/plugin_prefs.h" 19 #include "chrome/browser/plugins/plugin_prefs.h"
21 #include "chrome/browser/profiles/profile.h" 20 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/browser/ui/browser.h" 21 #include "chrome/browser/ui/browser.h"
23 #include "chrome/common/pref_names.h" 22 #include "chrome/common/pref_names.h"
24 #include "components/browsing_data/core/pref_names.h" 23 #include "components/browsing_data/core/pref_names.h"
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 return BrowsingDataRemover::REMOVE_SERVICE_WORKERS; 450 return BrowsingDataRemover::REMOVE_SERVICE_WORKERS;
452 } 451 }
453 452
454 int BrowsingDataRemoveCacheStorageFunction::GetRemovalMask() { 453 int BrowsingDataRemoveCacheStorageFunction::GetRemovalMask() {
455 return BrowsingDataRemover::REMOVE_CACHE_STORAGE; 454 return BrowsingDataRemover::REMOVE_CACHE_STORAGE;
456 } 455 }
457 456
458 int BrowsingDataRemoveWebSQLFunction::GetRemovalMask() { 457 int BrowsingDataRemoveWebSQLFunction::GetRemovalMask() {
459 return BrowsingDataRemover::REMOVE_WEBSQL; 458 return BrowsingDataRemover::REMOVE_WEBSQL;
460 } 459 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698