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

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

Issue 9668039: Move active_downloads_ui.* to chrome/browser/ui/webui/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again Created 8 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/download/save_page_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/bind.h" 5 #include "base/bind.h"
6 #include "base/bind_helpers.h" 6 #include "base/bind_helpers.h"
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 18 matching lines...) Expand all
29 #include "chrome/browser/extensions/extension_install_ui.h" 29 #include "chrome/browser/extensions/extension_install_ui.h"
30 #include "chrome/browser/extensions/extension_service.h" 30 #include "chrome/browser/extensions/extension_service.h"
31 #include "chrome/browser/history/history.h" 31 #include "chrome/browser/history/history.h"
32 #include "chrome/browser/net/url_request_mock_util.h" 32 #include "chrome/browser/net/url_request_mock_util.h"
33 #include "chrome/browser/prefs/pref_service.h" 33 #include "chrome/browser/prefs/pref_service.h"
34 #include "chrome/browser/profiles/profile.h" 34 #include "chrome/browser/profiles/profile.h"
35 #include "chrome/browser/tab_contents/render_view_context_menu.h" 35 #include "chrome/browser/tab_contents/render_view_context_menu.h"
36 #include "chrome/browser/ui/browser.h" 36 #include "chrome/browser/ui/browser.h"
37 #include "chrome/browser/ui/browser_list.h" 37 #include "chrome/browser/ui/browser_list.h"
38 #include "chrome/browser/ui/browser_window.h" 38 #include "chrome/browser/ui/browser_window.h"
39 #include "chrome/browser/ui/webui/active_downloads_ui.h" 39 #include "chrome/browser/ui/webui/chromeos/active_downloads_ui.h"
40 #include "chrome/common/chrome_notification_types.h" 40 #include "chrome/common/chrome_notification_types.h"
41 #include "chrome/common/chrome_paths.h" 41 #include "chrome/common/chrome_paths.h"
42 #include "chrome/common/pref_names.h" 42 #include "chrome/common/pref_names.h"
43 #include "chrome/common/url_constants.h" 43 #include "chrome/common/url_constants.h"
44 #include "chrome/test/base/in_process_browser_test.h" 44 #include "chrome/test/base/in_process_browser_test.h"
45 #include "chrome/test/base/ui_test_utils.h" 45 #include "chrome/test/base/ui_test_utils.h"
46 #include "content/public/browser/download_item.h" 46 #include "content/public/browser/download_item.h"
47 #include "content/public/browser/download_manager.h" 47 #include "content/public/browser/download_manager.h"
48 #include "content/public/browser/download_persistent_store_info.h" 48 #include "content/public/browser/download_persistent_store_info.h"
49 #include "content/public/browser/download_save_info.h" 49 #include "content/public/browser/download_save_info.h"
(...skipping 2123 matching lines...) Expand 10 before | Expand all | Expand 10 after
2173 "a_zip_file.zip", 2173 "a_zip_file.zip",
2174 DOWNLOAD_NAVIGATE, 2174 DOWNLOAD_NAVIGATE,
2175 // This passes because we switch to the My Documents folder. 2175 // This passes because we switch to the My Documents folder.
2176 content::DOWNLOAD_INTERRUPT_REASON_NONE, 2176 content::DOWNLOAD_INTERRUPT_REASON_NONE,
2177 true, 2177 true,
2178 true 2178 true
2179 }; 2179 };
2180 2180
2181 DownloadFileToReadonlyFolder(download_info); 2181 DownloadFileToReadonlyFolder(download_info);
2182 } 2182 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/download/save_page_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698