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_BROWSER_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/platform_file.h" | 14 #include "base/platform_file.h" |
| 15 #include "base/prefs/pref_service.h" |
15 #include "chrome/browser/chromeos/drive/drive_file_error.h" | 16 #include "chrome/browser/chromeos/drive/drive_file_error.h" |
16 #include "chrome/browser/chromeos/drive/search_metadata.h" | 17 #include "chrome/browser/chromeos/drive/search_metadata.h" |
17 #include "chrome/browser/chromeos/extensions/file_browser_event_router.h" | 18 #include "chrome/browser/chromeos/extensions/file_browser_event_router.h" |
18 #include "chrome/browser/chromeos/extensions/zip_file_creator.h" | 19 #include "chrome/browser/chromeos/extensions/zip_file_creator.h" |
19 #include "chrome/browser/extensions/extension_function.h" | 20 #include "chrome/browser/extensions/extension_function.h" |
20 #include "chrome/browser/prefs/pref_service.h" | |
21 #include "chrome/browser/profiles/profile_keyed_service.h" | 21 #include "chrome/browser/profiles/profile_keyed_service.h" |
22 #include "googleurl/src/url_util.h" | 22 #include "googleurl/src/url_util.h" |
23 | 23 |
24 class GURL; | 24 class GURL; |
25 class Profile; | 25 class Profile; |
26 | 26 |
27 namespace base { | 27 namespace base { |
28 class Value; | 28 class Value; |
29 } | 29 } |
30 | 30 |
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 protected: | 892 protected: |
893 virtual ~ValidatePathNameLengthFunction(); | 893 virtual ~ValidatePathNameLengthFunction(); |
894 | 894 |
895 void OnFilePathLimitRetrieved(size_t current_length, size_t max_length); | 895 void OnFilePathLimitRetrieved(size_t current_length, size_t max_length); |
896 | 896 |
897 // AsyncExtensionFunction overrides. | 897 // AsyncExtensionFunction overrides. |
898 virtual bool RunImpl() OVERRIDE; | 898 virtual bool RunImpl() OVERRIDE; |
899 }; | 899 }; |
900 | 900 |
901 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ | 901 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ |
OLD | NEW |