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

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.h

Issue 9959097: Move webNavigation extension api into a separate directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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/api/web_navigation/web_navigation_api_constants.h
diff --git a/chrome/browser/extensions/extension_webnavigation_api_constants.h b/chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.h
similarity index 64%
rename from chrome/browser/extensions/extension_webnavigation_api_constants.h
rename to chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.h
index 27f305254b714441d3410c823755a0e5429294a6..bfb4b3a8103de76a5cdf63e515685302cb1809e9 100644
--- a/chrome/browser/extensions/extension_webnavigation_api_constants.h
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api_constants.h
@@ -1,14 +1,16 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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 for the WebNavigation API.
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_CONSTANTS_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_CONSTANTS_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONSTANTS_H_
+#define CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONSTANTS_H_
#pragma once
-namespace extension_webnavigation_api_constants {
+namespace extensions {
+
+namespace web_navigation_api_constants {
// Keys.
extern const char kErrorKey[];
@@ -31,6 +33,8 @@ extern const char kOnDOMContentLoaded[];
extern const char kOnErrorOccurred[];
extern const char kOnReferenceFragmentUpdated[];
-} // namespace extension_webnavigation_api_constants
+} // namespace web_navigation_api_constants
+
+} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBNAVIGATION_API_CONSTANTS_H_
+#endif // CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_WEB_NAVIGATION_API_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698