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

Side by Side Diff: chrome/browser/download/download_util.h

Issue 7237034: sql::MetaTable.next_download_id, DownloadManager::GetNextId() (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix merge Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Download utilities. 5 // Download utilities.
6 6
7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 7 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 8 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
9 #pragma once 9 #pragma once
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/file_path.h" 14 #include "base/file_path.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/string16.h" 16 #include "base/string16.h"
17 #include "ui/gfx/native_widget_types.h" 17 #include "ui/gfx/native_widget_types.h"
18 18
19 #if defined(TOOLKIT_VIEWS) 19 #if defined(TOOLKIT_VIEWS)
20 #include "views/view.h" 20 #include "views/view.h"
21 #endif 21 #endif
22 22
23 class BaseDownloadItemModel; 23 class BaseDownloadItemModel;
24 class CrxInstaller; 24 class CrxInstaller;
25 class DownloadItem; 25 class DownloadItem;
26 class DownloadManager;
27 class GURL; 26 class GURL;
28 class Profile; 27 class Profile;
29 class ResourceDispatcherHost; 28 class ResourceDispatcherHost;
30 class SkBitmap; 29 class SkBitmap;
31 30
32 struct DownloadCreateInfo; 31 struct DownloadCreateInfo;
33 struct DownloadSaveInfo; 32 struct DownloadSaveInfo;
34 33
35 namespace base { 34 namespace base {
36 class DictionaryValue; 35 class DictionaryValue;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // If |path| does not exist, 0 is returned. If it fails to find such 176 // If |path| does not exist, 0 is returned. If it fails to find such
178 // a number, -1 is returned. 177 // a number, -1 is returned.
179 int GetUniquePathNumberWithCrDownload(const FilePath& path); 178 int GetUniquePathNumberWithCrDownload(const FilePath& path);
180 179
181 // Returns a .crdownload intermediate path for the |suggested_path|. 180 // Returns a .crdownload intermediate path for the |suggested_path|.
182 FilePath GetCrDownloadPath(const FilePath& suggested_path); 181 FilePath GetCrDownloadPath(const FilePath& suggested_path);
183 182
184 } // namespace download_util 183 } // namespace download_util
185 184
186 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_ 185 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_throttling_resource_handler.cc ('k') | chrome/browser/history/download_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698