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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_counter_utils.cc

Issue 2127403002: Make browsing_data component a layered component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed output_name from components/browsing_data/content/BUILD.gn Created 4 years, 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/browsing_data/browsing_data_counter_utils.h" 5 #include "chrome/browser/browsing_data/browsing_data_counter_utils.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/browsing_data/autofill_counter.h" 9 #include "chrome/browser/browsing_data/autofill_counter.h"
10 #include "chrome/browser/browsing_data/cache_counter.h" 10 #include "chrome/browser/browsing_data/cache_counter.h"
11 #include "chrome/browser/browsing_data/history_counter.h" 11 #include "chrome/browser/browsing_data/history_counter.h"
12 #include "chrome/browser/browsing_data/media_licenses_counter.h" 12 #include "chrome/browser/browsing_data/media_licenses_counter.h"
13 #include "chrome/browser/browsing_data/passwords_counter.h" 13 #include "chrome/browser/browsing_data/passwords_counter.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/common/chrome_switches.h" 15 #include "chrome/common/chrome_switches.h"
16 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
17 #include "chrome/grit/generated_resources.h" 17 #include "chrome/grit/generated_resources.h"
18 #include "components/browsing_data/pref_names.h" 18 #include "components/browsing_data/core/pref_names.h"
19 #include "components/prefs/pref_service.h" 19 #include "components/prefs/pref_service.h"
20 #include "ui/base/l10n/l10n_util.h" 20 #include "ui/base/l10n/l10n_util.h"
21 #include "ui/base/text/bytes_formatting.h" 21 #include "ui/base/text/bytes_formatting.h"
22 22
23 #if defined(ENABLE_EXTENSIONS) 23 #if defined(ENABLE_EXTENSIONS)
24 #include "base/numerics/safe_conversions.h" 24 #include "base/numerics/safe_conversions.h"
25 #include "base/strings/string_util.h" 25 #include "base/strings/string_util.h"
26 #include "base/strings/utf_string_conversions.h" 26 #include "base/strings/utf_string_conversions.h"
27 #include "chrome/browser/browsing_data/hosted_apps_counter.h" 27 #include "chrome/browser/browsing_data/hosted_apps_counter.h"
28 #endif 28 #endif
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // preference. 254 // preference.
255 return false; 255 return false;
256 case browsing_data::NUM_TYPES: 256 case browsing_data::NUM_TYPES:
257 // This is not an actual type. 257 // This is not an actual type.
258 NOTREACHED(); 258 NOTREACHED();
259 return false; 259 return false;
260 } 260 }
261 NOTREACHED(); 261 NOTREACHED();
262 return false; 262 return false;
263 } 263 }
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_counter_utils.h ('k') | chrome/browser/browsing_data/browsing_data_remover.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698