OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Constants used to for the History API. |
| 6 |
| 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_ |
| 9 |
| 10 namespace extension_history_api_constants { |
| 11 |
| 12 // Keys. |
| 13 extern const wchar_t kAllHistoryKey[]; |
| 14 extern const wchar_t kEndTimeKey[]; |
| 15 extern const wchar_t kFavIconUrlKey[]; |
| 16 extern const wchar_t kIdKey[]; |
| 17 extern const wchar_t kLastVisitdKey[]; |
| 18 extern const wchar_t kMaxResultsKey[]; |
| 19 extern const wchar_t kNewKey[]; |
| 20 extern const wchar_t kReferringVisitId[]; |
| 21 extern const wchar_t kRemovedKey[]; |
| 22 extern const wchar_t kSearchKey[]; |
| 23 extern const wchar_t kStartTimeKey[]; |
| 24 extern const wchar_t kTitleKey[]; |
| 25 extern const wchar_t kTypedCountKey[]; |
| 26 extern const wchar_t kVisitCountKey[]; |
| 27 extern const wchar_t kTransition[]; |
| 28 extern const wchar_t kUrlKey[]; |
| 29 extern const wchar_t kUrlsKey[]; |
| 30 extern const wchar_t kVisitId[]; |
| 31 extern const wchar_t kVisitTime[]; |
| 32 |
| 33 // Events. |
| 34 extern const char kOnVisited[]; |
| 35 extern const char kOnVisitRemoved[]; |
| 36 |
| 37 // Errors. |
| 38 extern const char kInvalidIdError[]; |
| 39 extern const char kInvalidUrlError[]; |
| 40 |
| 41 }; // namespace extension_history_api_constants |
| 42 |
| 43 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_ |
OLD | NEW |