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

Side by Side Diff: content/renderer/resource_fetcher_browsertest.cc

Issue 23316003: [content shell] move browser process stuff into browser/ subdir (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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 "content/renderer/fetchers/resource_fetcher.h" 5 #include "content/renderer/fetchers/resource_fetcher.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/timer/timer.h" 11 #include "base/timer/timer.h"
12 #include "content/public/common/content_switches.h" 12 #include "content/public/common/content_switches.h"
13 #include "content/public/common/url_constants.h" 13 #include "content/public/common/url_constants.h"
14 #include "content/public/renderer/render_view.h" 14 #include "content/public/renderer/render_view.h"
15 #include "content/public/test/test_utils.h" 15 #include "content/public/test/test_utils.h"
16 #include "content/shell/shell.h" 16 #include "content/shell/browser/shell.h"
17 #include "content/test/content_browser_test.h" 17 #include "content/test/content_browser_test.h"
18 #include "content/test/content_browser_test_utils.h" 18 #include "content/test/content_browser_test_utils.h"
19 #include "third_party/WebKit/public/platform/WebURLResponse.h" 19 #include "third_party/WebKit/public/platform/WebURLResponse.h"
20 #include "third_party/WebKit/public/web/WebFrame.h" 20 #include "third_party/WebKit/public/web/WebFrame.h"
21 #include "third_party/WebKit/public/web/WebView.h" 21 #include "third_party/WebKit/public/web/WebView.h"
22 22
23 using WebKit::WebFrame; 23 using WebKit::WebFrame;
24 using WebKit::WebURLRequest; 24 using WebKit::WebURLRequest;
25 using WebKit::WebURLResponse; 25 using WebKit::WebURLResponse;
26 26
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 ASSERT_TRUE(test_server()->Start()); 274 ASSERT_TRUE(test_server()->Start());
275 GURL url(test_server()->GetURL("slow?1")); 275 GURL url(test_server()->GetURL("slow?1"));
276 276
277 PostTaskToInProcessRendererAndWait( 277 PostTaskToInProcessRendererAndWait(
278 base::Bind( 278 base::Bind(
279 &ResourceFetcherTests::ResourceFetcherDeletedInCallbackOnRenderer, 279 &ResourceFetcherTests::ResourceFetcherDeletedInCallbackOnRenderer,
280 base::Unretained(this), url)); 280 base::Unretained(this), url));
281 } 281 }
282 282
283 } // namespace content 283 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest.cc ('k') | content/renderer/savable_resources_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698