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

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

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « chrome/browser/download/download_file.cc ('k') | chrome/browser/download/save_file.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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_manager.h" 5 #include "chrome/browser/download/download_manager.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 24 matching lines...) Expand all
35 #include "chrome/common/pref_names.h" 35 #include "chrome/common/pref_names.h"
36 #include "chrome/common/pref_service.h" 36 #include "chrome/common/pref_service.h"
37 #include "googleurl/src/gurl.h" 37 #include "googleurl/src/gurl.h"
38 #include "grit/chromium_strings.h" 38 #include "grit/chromium_strings.h"
39 #include "grit/generated_resources.h" 39 #include "grit/generated_resources.h"
40 #include "net/base/mime_util.h" 40 #include "net/base/mime_util.h"
41 #include "net/base/net_util.h" 41 #include "net/base/net_util.h"
42 #include "net/url_request/url_request_context.h" 42 #include "net/url_request/url_request_context.h"
43 43
44 #if defined(OS_WIN) 44 #if defined(OS_WIN)
45 #include "app/win_util.h"
45 // TODO(port): some of these need porting. 46 // TODO(port): some of these need porting.
46 #include "base/registry.h" 47 #include "base/registry.h"
47 #include "base/win_util.h" 48 #include "base/win_util.h"
48 #include "chrome/browser/download/download_util.h" 49 #include "chrome/browser/download/download_util.h"
49 #include "chrome/common/win_util.h"
50 #endif 50 #endif
51 51
52 #if defined(OS_LINUX) 52 #if defined(OS_LINUX)
53 #include <gtk/gtk.h> 53 #include <gtk/gtk.h>
54 #endif 54 #endif
55 55
56 // Periodically update our observers. 56 // Periodically update our observers.
57 class DownloadItemUpdateTask : public Task { 57 class DownloadItemUpdateTask : public Task {
58 public: 58 public:
59 explicit DownloadItemUpdateTask(DownloadItem* item) : item_(item) {} 59 explicit DownloadItemUpdateTask(DownloadItem* item) : item_(item) {}
(...skipping 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 } 1525 }
1526 1526
1527 if (contents) 1527 if (contents)
1528 contents->OnStartDownload(download); 1528 contents->OnStartDownload(download);
1529 } 1529 }
1530 1530
1531 // Clears the last download path, used to initialize "save as" dialogs. 1531 // Clears the last download path, used to initialize "save as" dialogs.
1532 void DownloadManager::ClearLastDownloadPath() { 1532 void DownloadManager::ClearLastDownloadPath() {
1533 last_download_path_ = FilePath(); 1533 last_download_path_ = FilePath();
1534 } 1534 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_file.cc ('k') | chrome/browser/download/save_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698