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

Side by Side Diff: chrome/browser/search_engines/template_url_scraper_unittest.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "chrome/browser/profile.h" 5 #include "chrome/browser/profiles/profile.h"
6 #include "chrome/browser/search_engines/template_url_model.h" 6 #include "chrome/browser/search_engines/template_url_model.h"
7 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" 7 #include "chrome/browser/search_engines/template_url_prepopulate_data.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/common/notification_registrar.h" 9 #include "chrome/common/notification_registrar.h"
10 #include "chrome/common/notification_source.h" 10 #include "chrome/common/notification_source.h"
11 #include "chrome/common/notification_type.h" 11 #include "chrome/common/notification_type.h"
12 #include "chrome/test/in_process_browser_test.h" 12 #include "chrome/test/in_process_browser_test.h"
13 #include "chrome/test/ui_test_utils.h" 13 #include "chrome/test/ui_test_utils.h"
14 #include "net/base/mock_host_resolver.h" 14 #include "net/base/mock_host_resolver.h"
15 #include "net/base/net_util.h" 15 #include "net/base/net_util.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 HTTPTestServer::CreateServerWithFileRootURL( 76 HTTPTestServer::CreateServerWithFileRootURL(
77 L"chrome/test/data/template_url_scraper/submit_handler", L"/", 77 L"chrome/test/data/template_url_scraper/submit_handler", L"/",
78 g_browser_process->io_thread()->message_loop())); 78 g_browser_process->io_thread()->message_loop()));
79 ui_test_utils::NavigateToURLBlockUntilNavigationsComplete( 79 ui_test_utils::NavigateToURLBlockUntilNavigationsComplete(
80 browser(), GURL("http://www.foo.com:1337/"), 2); 80 browser(), GURL("http://www.foo.com:1337/"), 2);
81 81
82 all_urls = template_urls->GetTemplateURLs(); 82 all_urls = template_urls->GetTemplateURLs();
83 EXPECT_EQ(1, all_urls.size() - prepopulate_urls.size()); 83 EXPECT_EQ(1, all_urls.size() - prepopulate_urls.size());
84 } 84 }
85 */ 85 */
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_model.cc ('k') | chrome/browser/search_engines/template_url_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698