summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_history_api_constants.h
blob: c6e371145147a80ac91fb0e3a18af2be6769304d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Constants used to for the History API.

#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_

namespace extension_history_api_constants {

// Keys.
extern const wchar_t kAllHistoryKey[];
extern const wchar_t kEndTimeKey[];
extern const wchar_t kFavIconUrlKey[];
extern const wchar_t kIdKey[];
extern const wchar_t kLastVisitdKey[];
extern const wchar_t kMaxResultsKey[];
extern const wchar_t kNewKey[];
extern const wchar_t kReferringVisitId[];
extern const wchar_t kRemovedKey[];
extern const wchar_t kSearchKey[];
extern const wchar_t kStartTimeKey[];
extern const wchar_t kTitleKey[];
extern const wchar_t kTypedCountKey[];
extern const wchar_t kVisitCountKey[];
extern const wchar_t kTransition[];
extern const wchar_t kUrlKey[];
extern const wchar_t kUrlsKey[];
extern const wchar_t kVisitId[];
extern const wchar_t kVisitTime[];

// Events.
extern const char kOnVisited[];
extern const char kOnVisitRemoved[];

// Errors.
extern const char kInvalidIdError[];
extern const char kInvalidUrlError[];

};  // namespace extension_history_api_constants

#endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_HISTORY_API_CONSTANTS_H_