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

Side by Side Diff: content/public/browser/download_item.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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) 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 // Each download is represented by a DownloadItem, and all DownloadItems 5 // Each download is represented by a DownloadItem, and all DownloadItems
6 // are owned by the DownloadManager which maintains a global list of all 6 // are owned by the DownloadManager which maintains a global list of all
7 // downloads. DownloadItems are created when a user initiates a download, 7 // downloads. DownloadItems are created when a user initiates a download,
8 // and exist for the duration of the browser life time. 8 // and exist for the duration of the browser life time.
9 // 9 //
10 // Download observers: 10 // Download observers:
(...skipping 10 matching lines...) Expand all
21 #include <string> 21 #include <string>
22 #include <vector> 22 #include <vector>
23 23
24 #include "base/file_path.h" 24 #include "base/file_path.h"
25 #include "base/string16.h" 25 #include "base/string16.h"
26 #include "base/supports_user_data.h" 26 #include "base/supports_user_data.h"
27 #include "content/public/browser/download_danger_type.h" 27 #include "content/public/browser/download_danger_type.h"
28 #include "content/public/browser/download_interrupt_reasons.h" 28 #include "content/public/browser/download_interrupt_reasons.h"
29 #include "content/public/common/page_transition_types.h" 29 #include "content/public/common/page_transition_types.h"
30 30
31 class FilePath;
32 class GURL; 31 class GURL;
33 32
34 namespace base { 33 namespace base {
34 class FilePath;
35 class Time; 35 class Time;
36 class TimeDelta; 36 class TimeDelta;
37 } 37 }
38 38
39 namespace content { 39 namespace content {
40 40
41 class BrowserContext; 41 class BrowserContext;
42 class DownloadId; 42 class DownloadId;
43 class DownloadManager; 43 class DownloadManager;
44 class WebContents; 44 class WebContents;
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 // return |name|. Has no effect on the final target filename. 316 // return |name|. Has no effect on the final target filename.
317 virtual void SetDisplayName(const FilePath& name) = 0; 317 virtual void SetDisplayName(const FilePath& name) = 0;
318 318
319 // Debug/testing ------------------------------------------------------------- 319 // Debug/testing -------------------------------------------------------------
320 virtual std::string DebugString(bool verbose) const = 0; 320 virtual std::string DebugString(bool verbose) const = 0;
321 }; 321 };
322 322
323 } // namespace content 323 } // namespace content
324 324
325 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_ITEM_H_ 325 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_ITEM_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/gpu_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698