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

Side by Side Diff: chrome/browser/ui/omnibox/omnibox_controller_unittest.cc

Issue 674273002: Cleanup: Remove unneeded chrome/common/pref_names.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "base/prefs/pref_service.h" 5 #include "base/prefs/pref_service.h"
6 #include "chrome/browser/autocomplete/autocomplete_controller.h" 6 #include "chrome/browser/autocomplete/autocomplete_controller.h"
7 #include "chrome/browser/ui/omnibox/omnibox_controller.h" 7 #include "chrome/browser/ui/omnibox/omnibox_controller.h"
8 #include "chrome/common/pref_names.h"
9 #include "chrome/test/base/testing_profile.h" 8 #include "chrome/test/base/testing_profile.h"
10 #include "components/omnibox/autocomplete_provider.h" 9 #include "components/omnibox/autocomplete_provider.h"
11 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
12 11
13 class OmniboxControllerTest : public testing::Test { 12 class OmniboxControllerTest : public testing::Test {
14 protected: 13 protected:
15 OmniboxControllerTest(); 14 OmniboxControllerTest();
16 virtual ~OmniboxControllerTest(); 15 virtual ~OmniboxControllerTest();
17 16
18 void CreateController(); 17 void CreateController();
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Ensure we have at least one provider. 69 // Ensure we have at least one provider.
71 ASSERT_NE(0, observed_providers); 70 ASSERT_NE(0, observed_providers);
72 71
73 // Ensure instant extended includes all the provides in classic Chrome. 72 // Ensure instant extended includes all the provides in classic Chrome.
74 int providers_with_instant_extended = observed_providers; 73 int providers_with_instant_extended = observed_providers;
75 // TODO(beaudoin): remove TYPE_SEARCH once it's no longer needed to pass 74 // TODO(beaudoin): remove TYPE_SEARCH once it's no longer needed to pass
76 // the Instant suggestion through via FinalizeInstantQuery. 75 // the Instant suggestion through via FinalizeInstantQuery.
77 CreateController(); 76 CreateController();
78 AssertProviders(providers_with_instant_extended); 77 AssertProviders(providers_with_instant_extended);
79 } 78 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/find_bar/find_bar_host_browsertest.cc ('k') | chrome/browser/ui/panels/panel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698