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

Unified Diff: chrome/browser/component_updater/test/component_updater_service_unittest.cc

Issue 12967016: Improve <adview> implementation and add tests. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Code review feedback. Created 7 years, 8 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/component_updater/test/component_updater_service_unittest.cc
diff --git a/chrome/browser/component_updater/test/component_updater_service_unittest.cc b/chrome/browser/component_updater/test/component_updater_service_unittest.cc
index 471c90a2a98daeeda832c9b595708d1a18c4eb2f..edcedc8641e29b804ca17e1ed189842075cc482e 100644
--- a/chrome/browser/component_updater/test/component_updater_service_unittest.cc
+++ b/chrome/browser/component_updater/test/component_updater_service_unittest.cc
@@ -294,7 +294,7 @@ TEST_F(ComponentUpdaterTest, CheckCrxSleep) {
io_thread.StartIOThread();
file_thread.Start();
- content::URLRequestPrepackagedInterceptor interceptor;
+ content::URLLocalHostRequestPrepackagedInterceptor interceptor;
CrxComponent com;
RegisterComponent(&com, kTestComponent_abag, Version("1.1"));
@@ -372,7 +372,7 @@ TEST_F(ComponentUpdaterTest, InstallCrx) {
io_thread.StartIOThread();
file_thread.Start();
- content::URLRequestPrepackagedInterceptor interceptor;
+ content::URLLocalHostRequestPrepackagedInterceptor interceptor;
CrxComponent com1;
RegisterComponent(&com1, kTestComponent_jebg, Version("0.9"));
@@ -437,7 +437,7 @@ TEST_F(ComponentUpdaterTest, InstallCrxTwoSources) {
io_thread.StartIOThread();
file_thread.Start();
- content::URLRequestPrepackagedInterceptor interceptor;
+ content::URLLocalHostRequestPrepackagedInterceptor interceptor;
CrxComponent com1;
RegisterComponent(&com1, kTestComponent_abag, Version("2.2"));
@@ -509,7 +509,7 @@ TEST_F(ComponentUpdaterTest, ProdVersionCheck) {
io_thread.StartIOThread();
file_thread.Start();
- content::URLRequestPrepackagedInterceptor interceptor;
+ content::URLLocalHostRequestPrepackagedInterceptor interceptor;
CrxComponent com;
RegisterComponent(&com, kTestComponent_jebg, Version("0.9"));
@@ -549,7 +549,7 @@ TEST_F(ComponentUpdaterTest, CheckForUpdateSoon) {
io_thread.StartIOThread();
file_thread.Start();
- content::URLRequestPrepackagedInterceptor interceptor;
+ content::URLLocalHostRequestPrepackagedInterceptor interceptor;
CrxComponent com1;
RegisterComponent(&com1, kTestComponent_abag, Version("2.2"));
« no previous file with comments | « no previous file | chrome/browser/extensions/ad_view_browsertest.cc » ('j') | chrome/renderer/resources/extensions/ad_view.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698