| 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 #pragma once | |
| 10 | |
| 11 namespace extension_history_api_constants { | |
| 12 | |
| 13 // Keys. | |
| 14 extern const char kAllHistoryKey[]; | |
| 15 extern const char kEndTimeKey[]; | |
| 16 extern const char kFaviconUrlKey[]; | |
| 17 extern const char kIdKey[]; | |
| 18 extern const char kLastVisitdKey[]; | |
| 19 extern const char kMaxResultsKey[]; | |
| 20 extern const char kNewKey[]; | |
| 21 extern const char kReferringVisitId[]; | |
| 22 extern const char kRemovedKey[]; | |
| 23 extern const char kStartTimeKey[]; | |
| 24 extern const char kTextKey[]; | |
| 25 extern const char kTitleKey[]; | |
| 26 extern const char kTypedCountKey[]; | |
| 27 extern const char kVisitCountKey[]; | |
| 28 extern const char kTransition[]; | |
| 29 extern const char kUrlKey[]; | |
| 30 extern const char kUrlsKey[]; | |
| 31 extern const char kVisitId[]; | |
| 32 extern const char kVisitTime[]; | |
| 33 | |
| 34 // Events. | |
| 35 extern const char kOnVisited[]; | |
| 36 extern const char kOnVisitRemoved[]; | |
| 37 | |
| 38 // Errors. | |
| 39 extern const char kInvalidIdError[]; | |
| 40 extern const char kInvalidUrlError[]; | |
| 41 | |
| 42 }; // namespace extension_history_api_constants | |
| 43 | |
| 44 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_ | |
| OLD | NEW |