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_CHROMEOS_EXTENSIONS_FILE_HANDLER_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_HANDLER_UTIL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_HANDLER_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_HANDLER_UTIL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/callback.h" |
10 #include "base/platform_file.h" | 11 #include "base/platform_file.h" |
11 #include "chrome/common/extensions/extension.h" | 12 #include "chrome/common/extensions/extension.h" |
12 #include "chrome/common/extensions/url_pattern_set.h" | 13 #include "chrome/common/extensions/url_pattern_set.h" |
13 | 14 |
14 class Browser; | 15 class Browser; |
15 class FileBrowserHandler; | 16 class FileBrowserHandler; |
16 class GURL; | 17 class GURL; |
17 class Profile; | 18 class Profile; |
18 | 19 |
19 namespace file_handler_util { | 20 namespace file_handler_util { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 Browser* GetBrowser() const; | 105 Browser* GetBrowser() const; |
105 private: | 106 private: |
106 friend class base::RefCountedThreadSafe<FileTaskExecutor>; | 107 friend class base::RefCountedThreadSafe<FileTaskExecutor>; |
107 | 108 |
108 Profile* profile_; | 109 Profile* profile_; |
109 }; | 110 }; |
110 | 111 |
111 } // namespace file_handler_util | 112 } // namespace file_handler_util |
112 | 113 |
113 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_HANDLER_UTIL_H_ | 114 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_HANDLER_UTIL_H_ |
OLD | NEW |