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

Side by Side Diff: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc

Issue 344493002: Move all remaining appcache-related code to content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <list> 5 #include <list>
6 #include <set> 6 #include <set>
7 7
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 prerender::PrerenderTracker* prerender_tracker, 226 prerender::PrerenderTracker* prerender_tracker,
227 TestNavigationListener* test_navigation_listener) 227 TestNavigationListener* test_navigation_listener)
228 : ChromeResourceDispatcherHostDelegate(prerender_tracker), 228 : ChromeResourceDispatcherHostDelegate(prerender_tracker),
229 test_navigation_listener_(test_navigation_listener) { 229 test_navigation_listener_(test_navigation_listener) {
230 } 230 }
231 virtual ~TestResourceDispatcherHostDelegate() {} 231 virtual ~TestResourceDispatcherHostDelegate() {}
232 232
233 virtual void RequestBeginning( 233 virtual void RequestBeginning(
234 net::URLRequest* request, 234 net::URLRequest* request,
235 content::ResourceContext* resource_context, 235 content::ResourceContext* resource_context,
236 appcache::AppCacheService* appcache_service, 236 content::AppCacheService* appcache_service,
237 ResourceType::Type resource_type, 237 ResourceType::Type resource_type,
238 int child_id, 238 int child_id,
239 int route_id, 239 int route_id,
240 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE { 240 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE {
241 ChromeResourceDispatcherHostDelegate::RequestBeginning( 241 ChromeResourceDispatcherHostDelegate::RequestBeginning(
242 request, 242 request,
243 resource_context, 243 resource_context,
244 appcache_service, 244 appcache_service,
245 resource_type, 245 resource_type,
246 child_id, 246 child_id,
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 "extensions/api_test/webnavigation/crash/b.html", 636 "extensions/api_test/webnavigation/crash/b.html",
637 embedded_test_server()->port())); 637 embedded_test_server()->port()));
638 ui_test_utils::NavigateToURL(browser(), url); 638 ui_test_utils::NavigateToURL(browser(), url);
639 639
640 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); 640 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message();
641 } 641 }
642 642
643 #endif 643 #endif
644 644
645 } // namespace extensions 645 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698