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

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

Issue 8921021: Trivial move of content::BrowserContext to content/public. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 9 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) 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/bind.h" 7 #include "base/bind.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "content/browser/browser_context.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_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 16
17 // IO Thread indirections to resource dispatcher host. 17 // IO Thread indirections to resource dispatcher host.
18 // Provided as targets for PostTask from within this object 18 // Provided as targets for PostTask from within this object
19 // only. 19 // only.
20 static void ResourceDispatcherHostPauseRequest( 20 static void ResourceDispatcherHostPauseRequest(
21 ResourceDispatcherHost* rdh, 21 ResourceDispatcherHost* rdh,
22 int process_unique_id, 22 int process_unique_id,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 std::string DownloadRequestHandle::DebugString() const { 112 std::string DownloadRequestHandle::DebugString() const {
113 return base::StringPrintf("{" 113 return base::StringPrintf("{"
114 " child_id = %d" 114 " child_id = %d"
115 " render_view_id = %d" 115 " render_view_id = %d"
116 " request_id = %d" 116 " request_id = %d"
117 "}", 117 "}",
118 child_id_, 118 child_id_,
119 render_view_id_, 119 render_view_id_,
120 request_id_); 120 request_id_);
121 } 121 }
OLDNEW
« no previous file with comments | « content/browser/download/download_manager_impl.cc ('k') | content/browser/download/drag_download_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698