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

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

Issue 8340028: Salient parts of http://codereview.chromium.org/8392042/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/stringprintf.h" 7 #include "base/stringprintf.h"
8 #include "content/browser/browser_context.h" 8 #include "content/browser/browser_context.h"
9 #include "content/browser/browser_thread.h"
10 #include "content/browser/renderer_host/render_view_host.h" 9 #include "content/browser/renderer_host/render_view_host.h"
11 #include "content/browser/renderer_host/resource_dispatcher_host.h" 10 #include "content/browser/renderer_host/resource_dispatcher_host.h"
12 #include "content/browser/tab_contents/tab_contents.h" 11 #include "content/browser/tab_contents/tab_contents.h"
12 #include "content/public/browser/browser_thread.h"
13 13
14 // IO Thread indirections to resource dispatcher host. 14 // IO Thread indirections to resource dispatcher host.
15 // Provided as targets for PostTask from within this object 15 // Provided as targets for PostTask from within this object
16 // only. 16 // only.
17 static void ResourceDispatcherHostPauseRequest( 17 static void ResourceDispatcherHostPauseRequest(
18 ResourceDispatcherHost* rdh, 18 ResourceDispatcherHost* rdh,
19 int process_unique_id, 19 int process_unique_id,
20 int request_id, 20 int request_id,
21 bool pause) { 21 bool pause) {
22 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 22 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 std::string DownloadRequestHandle::DebugString() const { 109 std::string DownloadRequestHandle::DebugString() const {
110 return base::StringPrintf("{" 110 return base::StringPrintf("{"
111 " child_id = %d" 111 " child_id = %d"
112 " render_view_id = %d" 112 " render_view_id = %d"
113 " request_id = %d" 113 " request_id = %d"
114 "}", 114 "}",
115 child_id_, 115 child_id_,
116 render_view_id_, 116 render_view_id_,
117 request_id_); 117 request_id_);
118 } 118 }
OLDNEW
« no previous file with comments | « content/browser/download/download_manager.cc ('k') | content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698