OLD | NEW |
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 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_PREFS_H_ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_PREFS_H_ |
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_PREFS_H_ | 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_PREFS_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
11 #include "chrome/browser/prefs/pref_member.h" | 11 #include "chrome/browser/api/prefs/pref_member.h" |
12 | 12 |
13 class Profile; | 13 class Profile; |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 class BrowserContext; | 16 class BrowserContext; |
17 class DownloadManager; | 17 class DownloadManager; |
18 } | 18 } |
19 | 19 |
20 // Stores all download-related preferences. | 20 // Stores all download-related preferences. |
21 class DownloadPrefs { | 21 class DownloadPrefs { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 bool operator()(const FilePath::StringType& a, | 73 bool operator()(const FilePath::StringType& a, |
74 const FilePath::StringType& b) const; | 74 const FilePath::StringType& b) const; |
75 }; | 75 }; |
76 typedef std::set<FilePath::StringType, AutoOpenCompareFunctor> AutoOpenSet; | 76 typedef std::set<FilePath::StringType, AutoOpenCompareFunctor> AutoOpenSet; |
77 AutoOpenSet auto_open_; | 77 AutoOpenSet auto_open_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(DownloadPrefs); | 79 DISALLOW_COPY_AND_ASSIGN(DownloadPrefs); |
80 }; | 80 }; |
81 | 81 |
82 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_PREFS_H_ | 82 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_PREFS_H_ |
OLD | NEW |