Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2210)

Unified Diff: chrome/browser/extensions/extension_history_api_constants.h

Issue 313001: Implement the Extension History API, v 0.1.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_history_api_constants.h
===================================================================
--- chrome/browser/extensions/extension_history_api_constants.h (revision 0)
+++ chrome/browser/extensions/extension_history_api_constants.h (revision 0)
@@ -0,0 +1,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_
Property changes on: chrome\browser\extensions\extension_history_api_constants.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/extensions/extension_history_api.cc ('k') | chrome/browser/extensions/extension_history_api_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698