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

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

Issue 7664005: Move DownloadResourceHandler to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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) 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 "chrome/browser/renderer_host/download_resource_handler.h" 5 #include "content/browser/download/download_resource_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/metrics/stats_counters.h" 11 #include "base/metrics/stats_counters.h"
12 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
13 #include "chrome/browser/download/download_util.h" 13 #include "chrome/browser/download/download_util.h"
14 #include "content/browser/browser_thread.h" 14 #include "content/browser/browser_thread.h"
15 #include "content/browser/download/download_create_info.h" 15 #include "content/browser/download/download_create_info.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 " render_view_id_ = " "%d" 256 " render_view_id_ = " "%d"
257 " save_info_.file_path = \"%" PRFilePath "\"" 257 " save_info_.file_path = \"%" PRFilePath "\""
258 " }", 258 " }",
259 request_->url().spec().c_str(), 259 request_->url().spec().c_str(),
260 download_id_, 260 download_id_,
261 global_id_.child_id, 261 global_id_.child_id,
262 global_id_.request_id, 262 global_id_.request_id,
263 render_view_id_, 263 render_view_id_,
264 save_info_.file_path.value().c_str()); 264 save_info_.file_path.value().c_str());
265 } 265 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698