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

Side by Side Diff: chrome/browser/prefs/tracked/pref_hash_browsertest.cc

Issue 2209863002: Remove unused includes in pref_hash_browsertest.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b7_a_UNRELATED_pnacl_host_weakptr
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <memory> 5 #include <memory>
6 #include <string> 6 #include <string>
7 7
8 #include "base/base_switches.h" 8 #include "base/base_switches.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/extensions/extension_service.h" 22 #include "chrome/browser/extensions/extension_service.h"
23 #include "chrome/browser/prefs/chrome_pref_service_factory.h" 23 #include "chrome/browser/prefs/chrome_pref_service_factory.h"
24 #include "chrome/browser/prefs/profile_pref_store_manager.h" 24 #include "chrome/browser/prefs/profile_pref_store_manager.h"
25 #include "chrome/browser/prefs/session_startup_pref.h" 25 #include "chrome/browser/prefs/session_startup_pref.h"
26 #include "chrome/browser/profiles/profile.h" 26 #include "chrome/browser/profiles/profile.h"
27 #include "chrome/browser/ui/browser.h" 27 #include "chrome/browser/ui/browser.h"
28 #include "chrome/common/chrome_constants.h" 28 #include "chrome/common/chrome_constants.h"
29 #include "chrome/common/chrome_paths.h" 29 #include "chrome/common/chrome_paths.h"
30 #include "chrome/common/pref_names.h" 30 #include "chrome/common/pref_names.h"
31 #include "chrome/test/base/testing_profile.h" 31 #include "chrome/test/base/testing_profile.h"
32 #include "components/prefs/pref_service.h"
33 #include "components/prefs/scoped_user_pref_update.h"
34 #include "components/search_engines/default_search_manager.h" 32 #include "components/search_engines/default_search_manager.h"
35 #include "components/user_prefs/tracked/tracked_preference_histogram_names.h" 33 #include "components/user_prefs/tracked/tracked_preference_histogram_names.h"
36 #include "extensions/browser/pref_names.h" 34 #include "extensions/browser/pref_names.h"
37 #include "extensions/common/extension.h" 35 #include "extensions/common/extension.h"
38 36
39 #if defined(OS_CHROMEOS) 37 #if defined(OS_CHROMEOS)
40 #include "chromeos/chromeos_switches.h" 38 #include "chromeos/chromeos_switches.h"
41 #endif 39 #endif
42 40
43 namespace { 41 namespace {
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 ALLOW_NONE)); 951 ALLOW_NONE));
954 EXPECT_EQ( 952 EXPECT_EQ(
955 0, GetTrackedPrefHistogramCount( 953 0, GetTrackedPrefHistogramCount(
956 user_prefs::tracked::kTrackedPrefHistogramMigratedLegacyDeviceId, 954 user_prefs::tracked::kTrackedPrefHistogramMigratedLegacyDeviceId,
957 ALLOW_NONE)); 955 ALLOW_NONE));
958 } 956 }
959 }; 957 };
960 958
961 PREF_HASH_BROWSER_TEST(PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipe, 959 PREF_HASH_BROWSER_TEST(PrefHashBrowserTestUntrustedAdditionToPrefsAfterWipe,
962 UntrustedAdditionToPrefsAfterWipe); 960 UntrustedAdditionToPrefsAfterWipe);
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698