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

Side by Side Diff: content/browser/download/download_request_handle.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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/browser/download/download_request_handle.h" 5 #include "content/browser/download/download_request_handle.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "content/browser/renderer_host/render_view_host_impl.h" 9 #include "content/browser/renderer_host/render_view_host_impl.h"
10 #include "content/browser/renderer_host/resource_dispatcher_host.h" 10 #include "content/browser/renderer_host/resource_dispatcher_host.h"
11 #include "content/browser/tab_contents/tab_contents.h" 11 #include "content/browser/tab_contents/tab_contents.h"
12 #include "content/public/browser/browser_context.h" 12 #include "content/public/browser/browser_context.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 14
15 using content::BrowserThread; 15 using content::BrowserThread;
16 using content::DownloadManager; 16 using content::DownloadManager;
17 using content::RenderViewHostImpl;
17 18
18 // IO Thread indirections to resource dispatcher host. 19 // IO Thread indirections to resource dispatcher host.
19 // Provided as targets for PostTask from within this object 20 // Provided as targets for PostTask from within this object
20 // only. 21 // only.
21 static void ResourceDispatcherHostPauseRequest( 22 static void ResourceDispatcherHostPauseRequest(
22 ResourceDispatcherHost* rdh, 23 ResourceDispatcherHost* rdh,
23 int process_unique_id, 24 int process_unique_id,
24 int request_id, 25 int request_id,
25 bool pause) { 26 bool pause) {
26 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 27 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 std::string DownloadRequestHandle::DebugString() const { 116 std::string DownloadRequestHandle::DebugString() const {
116 return base::StringPrintf("{" 117 return base::StringPrintf("{"
117 " child_id = %d" 118 " child_id = %d"
118 " render_view_id = %d" 119 " render_view_id = %d"
119 " request_id = %d" 120 " request_id = %d"
120 "}", 121 "}",
121 child_id_, 122 child_id_,
122 render_view_id_, 123 render_view_id_,
123 request_id_); 124 request_id_);
124 } 125 }
OLDNEW
« no previous file with comments | « content/browser/debugger/render_view_devtools_agent_host.h ('k') | content/browser/download/mhtml_generation_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698