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

Side by Side Diff: content/browser/loader/resource_dispatcher_host_browsertest.cc

Issue 11414299: Add content/browser/loader/ for resource loading related classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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) 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 "base/string_util.h" 5 #include "base/string_util.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "content/browser/download/download_manager_impl.h" 7 #include "content/browser/download/download_manager_impl.h"
8 #include "content/browser/web_contents/web_contents_impl.h" 8 #include "content/browser/web_contents/web_contents_impl.h"
9 #include "content/public/browser/browser_context.h" 9 #include "content/public/browser/browser_context.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 CrossSiteFailedRequest) { 396 CrossSiteFailedRequest) {
397 // Visit another URL first to trigger a cross-site navigation. 397 // Visit another URL first to trigger a cross-site navigation.
398 NavigateToURL(shell(), GetTestUrl("", "simple_page.html")); 398 NavigateToURL(shell(), GetTestUrl("", "simple_page.html"));
399 399
400 // Visit a URL that fails without calling ResourceDispatcherHost::Read. 400 // Visit a URL that fails without calling ResourceDispatcherHost::Read.
401 GURL broken_url("chrome://theme"); 401 GURL broken_url("chrome://theme");
402 NavigateToURL(shell(), broken_url); 402 NavigateToURL(shell(), broken_url);
403 } 403 }
404 404
405 } // namespace content 405 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/resource_buffer_unittest.cc ('k') | content/browser/loader/resource_dispatcher_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698