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

Unified Diff: chrome/browser/chromeos/web_socket_proxy_helper.h

Issue 21115004: extensions: Remove chrome.webSocketProxyPrivate API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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/chromeos/web_socket_proxy_helper.h
diff --git a/chrome/browser/chromeos/web_socket_proxy_helper.h b/chrome/browser/chromeos/web_socket_proxy_helper.h
deleted file mode 100644
index 5aac3c19b053d674d14e0b401f9e7ea9463707a7..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/web_socket_proxy_helper.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2011 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.
-
-#ifndef CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_HELPER_H_
-#define CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_HELPER_H_
-
-#include <string>
-#include "base/basictypes.h"
-
-namespace chromeos {
-
-// Helper class for WebSocketProxy.
-class WebSocketProxyHelper {
- public:
- // Parses "passport:addr:hostname:port:" string. Returns true on success.
- static bool FetchPassportAddrNamePort(
- uint8* begin, uint8* end,
- std::string* passport, std::string* addr,
- std::string* hostname, int* port);
-
- // Fetches a token from the string and erases it. Token separtor is
- // either ':' or ']:' if the token is started with '[' and
- // |match_brackets|. Fetching position (start or end) is determined by
- // |forward|. Returns whether the token was successfully fetched.
- static bool FetchToken(bool forward, bool match_brackets,
- std::string* input,
- std::string* token);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_HELPER_H_
« no previous file with comments | « chrome/browser/chromeos/web_socket_proxy_controller.cc ('k') | chrome/browser/chromeos/web_socket_proxy_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698