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

Unified Diff: chrome/browser/extensions/api/proxy/proxy_api_helpers.h

Issue 9690006: Move Proxy Settings API from chrome/browser/extensions to chrome/browser/eextensions/api/proxy (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/proxy/proxy_api_helpers.h
diff --git a/chrome/browser/extensions/extension_proxy_api_helpers.h b/chrome/browser/extensions/api/proxy/proxy_api_helpers.h
similarity index 93%
rename from chrome/browser/extensions/extension_proxy_api_helpers.h
rename to chrome/browser/extensions/api/proxy/proxy_api_helpers.h
index f658aab348449bac83cfc8f24f8f983cc6dbc3d4..1cff07d4e3267b20530e91cc0cbda6e355ecc972 100644
--- a/chrome/browser/extensions/extension_proxy_api_helpers.h
+++ b/chrome/browser/extensions/api/proxy/proxy_api_helpers.h
@@ -1,11 +1,11 @@
-// 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.
// Definition of helper functions for the Chrome Extensions Proxy Settings API.
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PROXY_API_HELPERS_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROXY_API_HELPERS_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_
+#define CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_
#pragma once
#include <string>
@@ -20,7 +20,8 @@ class DictionaryValue;
class ListValue;
}
-namespace extension_proxy_api_helpers {
+namespace extensions {
+namespace proxy_api_helpers {
// Conversion between PAC scripts and data-encoding URLs containing these
// PAC scripts. Data-encoding URLs consist of a data:// prefix, a mime-type and
@@ -131,6 +132,7 @@ base::DictionaryValue* CreatePacScriptDict(
base::ListValue* TokenizeToStringList(const std::string& in,
const std::string& delims);
-} // namespace extension_proxy_api_helpers
+} // namespace proxy_api_helpers
+} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROXY_API_HELPERS_H_
+#endif // CHROME_BROWSER_EXTENSIONS_API_PROXY_PROXY_API_HELPERS_H_
« no previous file with comments | « chrome/browser/extensions/api/proxy/proxy_api_constants.cc ('k') | chrome/browser/extensions/api/proxy/proxy_api_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698