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

Side by Side Diff: chrome/browser/download/download_resource_throttle.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 "chrome/browser/download/download_resource_throttle.h" 5 #include "chrome/browser/download/download_resource_throttle.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "build/build_config.h"
8 #include "chrome/browser/download/download_stats.h" 9 #include "chrome/browser/download/download_stats.h"
9 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
10 #include "content/public/browser/resource_controller.h" 11 #include "content/public/browser/resource_controller.h"
11 12
12 #if defined(OS_ANDROID) 13 #if defined(OS_ANDROID)
13 #include "content/public/browser/android/download_controller_android.h" 14 #include "content/public/browser/android/download_controller_android.h"
14 #include "content/public/browser/render_view_host.h" 15 #include "content/public/browser/render_view_host.h"
15 16
16 using content::DownloadControllerAndroid; 17 using content::DownloadControllerAndroid;
17 #endif 18 #endif
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 146
146 if (request_deferred_) { 147 if (request_deferred_) {
147 request_deferred_ = false; 148 request_deferred_ = false;
148 if (allow) { 149 if (allow) {
149 controller()->Resume(); 150 controller()->Resume();
150 } else { 151 } else {
151 controller()->Cancel(); 152 controller()->Cancel();
152 } 153 }
153 } 154 }
154 } 155 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_resource_throttle.h ('k') | chrome/browser/download/download_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698