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

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

Issue 16755004: Use a direct include of strings headers in content/browser/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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_create_info.h" 5 #include "content/browser/download/download_create_info.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/format_macros.h" 9 #include "base/format_macros.h"
10 #include "base/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 DownloadCreateInfo::DownloadCreateInfo( 14 DownloadCreateInfo::DownloadCreateInfo(
15 const base::Time& start_time, 15 const base::Time& start_time,
16 int64 total_bytes, 16 int64 total_bytes,
17 const net::BoundNetLog& bound_net_log, 17 const net::BoundNetLog& bound_net_log,
18 bool has_user_gesture, 18 bool has_user_gesture,
19 PageTransition transition_type) 19 PageTransition transition_type)
20 : start_time(start_time), 20 : start_time(start_time),
(...skipping 27 matching lines...) Expand all
48 url().spec().c_str(), 48 url().spec().c_str(),
49 request_handle.DebugString().c_str(), 49 request_handle.DebugString().c_str(),
50 total_bytes); 50 total_bytes);
51 } 51 }
52 52
53 const GURL& DownloadCreateInfo::url() const { 53 const GURL& DownloadCreateInfo::url() const {
54 return url_chain.empty() ? GURL::EmptyGURL() : url_chain.back(); 54 return url_chain.empty() ? GURL::EmptyGURL() : url_chain.back();
55 } 55 }
56 56
57 } // namespace content 57 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/download/base_file_unittest.cc ('k') | content/browser/download/download_file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698