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_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 namespace download_extension_errors { | 39 namespace download_extension_errors { |
40 | 40 |
41 // Errors that can be returned through chrome.runtime.lastError.message. | 41 // Errors that can be returned through chrome.runtime.lastError.message. |
42 extern const char kEmptyFile[]; | 42 extern const char kEmptyFile[]; |
43 extern const char kFileAlreadyDeleted[]; | 43 extern const char kFileAlreadyDeleted[]; |
44 extern const char kFileNotRemoved[]; | 44 extern const char kFileNotRemoved[]; |
45 extern const char kIconNotFound[]; | 45 extern const char kIconNotFound[]; |
46 extern const char kInvalidDangerType[]; | 46 extern const char kInvalidDangerType[]; |
47 extern const char kInvalidFilename[]; | 47 extern const char kInvalidFilename[]; |
48 extern const char kInvalidFilter[]; | 48 extern const char kInvalidFilter[]; |
49 extern const char kInvalidHeader[]; | 49 extern const char kInvalidHeaderName[]; |
| 50 extern const char kInvalidHeaderValue[]; |
| 51 extern const char kInvalidHeaderUnsafe[]; |
50 extern const char kInvalidId[]; | 52 extern const char kInvalidId[]; |
51 extern const char kInvalidOrderBy[]; | 53 extern const char kInvalidOrderBy[]; |
52 extern const char kInvalidQueryLimit[]; | 54 extern const char kInvalidQueryLimit[]; |
53 extern const char kInvalidState[]; | 55 extern const char kInvalidState[]; |
54 extern const char kInvalidURL[]; | 56 extern const char kInvalidURL[]; |
55 extern const char kInvisibleContext[]; | 57 extern const char kInvisibleContext[]; |
56 extern const char kNotComplete[]; | 58 extern const char kNotComplete[]; |
57 extern const char kNotDangerous[]; | 59 extern const char kNotDangerous[]; |
58 extern const char kNotInProgress[]; | 60 extern const char kNotInProgress[]; |
59 extern const char kNotResumable[]; | 61 extern const char kNotResumable[]; |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 ScopedObserver<extensions::ExtensionRegistry, | 403 ScopedObserver<extensions::ExtensionRegistry, |
402 extensions::ExtensionRegistryObserver> | 404 extensions::ExtensionRegistryObserver> |
403 extension_registry_observer_; | 405 extension_registry_observer_; |
404 | 406 |
405 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter); | 407 DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter); |
406 }; | 408 }; |
407 | 409 |
408 } // namespace extensions | 410 } // namespace extensions |
409 | 411 |
410 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ | 412 #endif // CHROME_BROWSER_EXTENSIONS_API_DOWNLOADS_DOWNLOADS_API_H_ |
OLD | NEW |