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

Unified Diff: chrome/browser/ui/omnibox/omnibox_controller_unittest.cc

Issue 15003002: Omnibox refactor. Move StartAutocomplete and DoInstant to controller. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reverted dummy test. Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/omnibox/omnibox_controller_unittest.cc
diff --git a/chrome/browser/ui/omnibox/omnibox_controller_unittest.cc b/chrome/browser/ui/omnibox/omnibox_controller_unittest.cc
index 5f25c92cd8b2be1e6af6c049b6f4b001ca78bd43..7a6577f0295a9e8bc7182ab4653cb2d07cb5b9f2 100644
--- a/chrome/browser/ui/omnibox/omnibox_controller_unittest.cc
+++ b/chrome/browser/ui/omnibox/omnibox_controller_unittest.cc
@@ -11,8 +11,6 @@
#include "chrome/test/base/testing_profile.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace {
-
class OmniboxControllerTest : public testing::Test {
protected:
OmniboxControllerTest();
@@ -40,7 +38,7 @@ OmniboxControllerTest::~OmniboxControllerTest() {
}
void OmniboxControllerTest::CreateController() {
- omnibox_controller_.reset(new OmniboxController(NULL, &profile_));
+ omnibox_controller_.reset(new OmniboxController(NULL, &profile_, NULL));
}
// Checks that the list of autocomplete providers used by the OmniboxController
@@ -91,7 +89,4 @@ TEST_F(OmniboxControllerTest, CheckDefaultAutocompleteProviders) {
chrome::EnableInstantExtendedAPIForTesting();
CreateController();
AssertProviders(providers_with_instant_extended);
-
}
-
-} // namespace

Powered by Google App Engine
This is Rietveld 408576698