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

Side by Side Diff: content/browser/download/drag_download_file_browsertest.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 "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/files/scoped_temp_dir.h" 6 #include "base/files/scoped_temp_dir.h"
7 #include "base/macros.h"
7 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
8 #include "content/browser/download/download_file_factory.h" 9 #include "content/browser/download/download_file_factory.h"
9 #include "content/browser/download/download_file_impl.h" 10 #include "content/browser/download/download_file_impl.h"
10 #include "content/browser/download/download_item_impl.h" 11 #include "content/browser/download/download_item_impl.h"
11 #include "content/browser/download/download_manager_impl.h" 12 #include "content/browser/download/download_manager_impl.h"
12 #include "content/browser/download/drag_download_file.h" 13 #include "content/browser/download/drag_download_file.h"
13 #include "content/browser/download/drag_download_util.h" 14 #include "content/browser/download/drag_download_util.h"
14 #include "content/browser/web_contents/web_contents_impl.h" 15 #include "content/browser/web_contents/web_contents_impl.h"
15 #include "content/public/browser/content_browser_client.h" 16 #include "content/public/browser/content_browser_client.h"
16 #include "content/public/browser/power_save_blocker.h" 17 #include "content/public/browser/power_save_blocker.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 .WillOnce(InvokeWithoutArgs(this, &DragDownloadFileTest::Succeed)); 125 .WillOnce(InvokeWithoutArgs(this, &DragDownloadFileTest::Succeed));
125 ON_CALL(*observer.get(), OnDownloadAborted()) 126 ON_CALL(*observer.get(), OnDownloadAborted())
126 .WillByDefault(InvokeWithoutArgs(this, &DragDownloadFileTest::FailFast)); 127 .WillByDefault(InvokeWithoutArgs(this, &DragDownloadFileTest::FailFast));
127 file->Start(observer.get()); 128 file->Start(observer.get());
128 RunMessageLoop(); 129 RunMessageLoop();
129 } 130 }
130 131
131 // TODO(benjhayden): Test Stop(). 132 // TODO(benjhayden): Test Stop().
132 133
133 } // namespace content 134 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/download/drag_download_file.cc ('k') | content/browser/download/drag_download_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698