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

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

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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
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_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/bind.h" 9 #include "base/bind.h"
10 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 } 77 }
78 } 78 }
79 } 79 }
80 80
81 void DeleteOnUIThread( 81 void DeleteOnUIThread(
82 scoped_ptr<DownloadResourceHandler::DownloadTabInfo> tab_info) {} 82 scoped_ptr<DownloadResourceHandler::DownloadTabInfo> tab_info) {}
83 83
84 } // namespace 84 } // namespace
85 85
86 DownloadResourceHandler::DownloadResourceHandler( 86 DownloadResourceHandler::DownloadResourceHandler(
87 uint32 id, 87 uint32_t id,
88 net::URLRequest* request, 88 net::URLRequest* request,
89 const DownloadUrlParameters::OnStartedCallback& started_cb, 89 const DownloadUrlParameters::OnStartedCallback& started_cb,
90 scoped_ptr<DownloadSaveInfo> save_info) 90 scoped_ptr<DownloadSaveInfo> save_info)
91 : ResourceHandler(request), 91 : ResourceHandler(request),
92 download_id_(id), 92 download_id_(id),
93 started_cb_(started_cb), 93 started_cb_(started_cb),
94 tab_info_(new DownloadTabInfo()), 94 tab_info_(new DownloadTabInfo()),
95 core_(request, 95 core_(request,
96 std::move(save_info), 96 std::move(save_info),
97 base::Bind(&DownloadResourceHandler::OnCoreReadyToRead, 97 base::Bind(&DownloadResourceHandler::OnCoreReadyToRead,
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 " }", 240 " }",
241 request() ? 241 request() ?
242 request()->url().spec().c_str() : 242 request()->url().spec().c_str() :
243 "<NULL request>", 243 "<NULL request>",
244 info->GetChildID(), 244 info->GetChildID(),
245 info->GetRequestID(), 245 info->GetRequestID(),
246 info->GetRouteID()); 246 info->GetRouteID());
247 } 247 }
248 248
249 } // namespace content 249 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/download/download_resource_handler.h ('k') | content/browser/download/download_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698