| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 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 // Constants used to for the History API. | 5 // Constants used to for the History API. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 namespace extension_history_api_constants { | 11 namespace extension_history_api_constants { |
| 12 | 12 |
| 13 // Keys. | 13 // Keys. |
| 14 extern const wchar_t kAllHistoryKey[]; | 14 extern const char kAllHistoryKey[]; |
| 15 extern const wchar_t kEndTimeKey[]; | 15 extern const char kEndTimeKey[]; |
| 16 extern const wchar_t kFavIconUrlKey[]; | 16 extern const char kFavIconUrlKey[]; |
| 17 extern const wchar_t kIdKey[]; | 17 extern const char kIdKey[]; |
| 18 extern const wchar_t kLastVisitdKey[]; | 18 extern const char kLastVisitdKey[]; |
| 19 extern const wchar_t kMaxResultsKey[]; | 19 extern const char kMaxResultsKey[]; |
| 20 extern const wchar_t kNewKey[]; | 20 extern const char kNewKey[]; |
| 21 extern const wchar_t kReferringVisitId[]; | 21 extern const char kReferringVisitId[]; |
| 22 extern const wchar_t kRemovedKey[]; | 22 extern const char kRemovedKey[]; |
| 23 extern const wchar_t kStartTimeKey[]; | 23 extern const char kStartTimeKey[]; |
| 24 extern const wchar_t kTextKey[]; | 24 extern const char kTextKey[]; |
| 25 extern const wchar_t kTitleKey[]; | 25 extern const char kTitleKey[]; |
| 26 extern const wchar_t kTypedCountKey[]; | 26 extern const char kTypedCountKey[]; |
| 27 extern const wchar_t kVisitCountKey[]; | 27 extern const char kVisitCountKey[]; |
| 28 extern const wchar_t kTransition[]; | 28 extern const char kTransition[]; |
| 29 extern const wchar_t kUrlKey[]; | 29 extern const char kUrlKey[]; |
| 30 extern const wchar_t kUrlsKey[]; | 30 extern const char kUrlsKey[]; |
| 31 extern const wchar_t kVisitId[]; | 31 extern const char kVisitId[]; |
| 32 extern const wchar_t kVisitTime[]; | 32 extern const char kVisitTime[]; |
| 33 | 33 |
| 34 // Events. | 34 // Events. |
| 35 extern const char kOnVisited[]; | 35 extern const char kOnVisited[]; |
| 36 extern const char kOnVisitRemoved[]; | 36 extern const char kOnVisitRemoved[]; |
| 37 | 37 |
| 38 // Errors. | 38 // Errors. |
| 39 extern const char kInvalidIdError[]; | 39 extern const char kInvalidIdError[]; |
| 40 extern const char kInvalidUrlError[]; | 40 extern const char kInvalidUrlError[]; |
| 41 | 41 |
| 42 }; // namespace extension_history_api_constants | 42 }; // namespace extension_history_api_constants |
| 43 | 43 |
| 44 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_ | 44 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_ |
| OLD | NEW |