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

Unified Diff: chrome/browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.h

Issue 10445013: Moving web_socket_proxy_private into a sub-dir in api/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing the order of lines around end-of-header-guard Created 8 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.h
diff --git a/chrome/browser/extensions/extension_web_socket_proxy_private_api.h b/chrome/browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.h
similarity index 90%
rename from chrome/browser/extensions/extension_web_socket_proxy_private_api.h
rename to chrome/browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.h
index de4661292b12a0e5a49ad7eceb974c6c5f0d301e..35dc297e284637170d63f0256c2876c322ffeb9d 100644
--- a/chrome/browser/extensions/extension_web_socket_proxy_private_api.h
+++ b/chrome/browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_SOCKET_PROXY_PRIVATE_API_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_SOCKET_PROXY_PRIVATE_API_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_SOCKET_PROXY_PRIVATE_WEB_SOCKET_PROXY_PRIVATE_API_H_
+#define CHROME_BROWSER_EXTENSIONS_API_WEB_SOCKET_PROXY_PRIVATE_WEB_SOCKET_PROXY_PRIVATE_API_H_
#pragma once
#include "base/timer.h"
@@ -18,6 +18,8 @@ namespace net {
class SingleRequestHostResolver;
}
+namespace extensions {
+
// Base class for web socket proxy functions.
class WebSocketProxyPrivate
: public AsyncExtensionFunction, public content::NotificationObserver {
@@ -107,4 +109,6 @@ class WebSocketProxyPrivateGetPassportForTCPFunction
virtual void CustomFinalize() OVERRIDE;
};
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEB_SOCKET_PROXY_PRIVATE_API_H_
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_API_WEB_SOCKET_PROXY_PRIVATE_WEB_SOCKET_PROXY_PRIVATE_API_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/api/web_socket_proxy_private/web_socket_proxy_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698