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

Side by Side Diff: content/browser/download/drag_download_file.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/drag_download_file.h" 5 #include "content/browser/download/drag_download_file.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/macros.h"
10 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "build/build_config.h"
11 #include "content/browser/download/download_stats.h" 13 #include "content/browser/download/download_stats.h"
12 #include "content/browser/web_contents/web_contents_impl.h" 14 #include "content/browser/web_contents/web_contents_impl.h"
13 #include "content/public/browser/browser_context.h" 15 #include "content/public/browser/browser_context.h"
14 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/download_item.h" 17 #include "content/public/browser/download_item.h"
16 #include "content/public/browser/download_save_info.h" 18 #include "content/public/browser/download_save_info.h"
17 #include "content/public/browser/download_url_parameters.h" 19 #include "content/public/browser/download_url_parameters.h"
18 20
19 namespace content { 21 namespace content {
20 22
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 239
238 void DragDownloadFile::CheckThread() { 240 void DragDownloadFile::CheckThread() {
239 #if defined(OS_WIN) 241 #if defined(OS_WIN)
240 DCHECK(drag_message_loop_ == base::MessageLoop::current()); 242 DCHECK(drag_message_loop_ == base::MessageLoop::current());
241 #else 243 #else
242 DCHECK_CURRENTLY_ON(BrowserThread::UI); 244 DCHECK_CURRENTLY_ON(BrowserThread::UI);
243 #endif 245 #endif
244 } 246 }
245 247
246 } // namespace content 248 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/download/drag_download_file.h ('k') | content/browser/download/drag_download_file_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698