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

Unified Diff: content/browser/websockets/websocket_impl.h

Issue 2201763002: Switch on use_new_wrapper_types mode for content/common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from kinuko Created 4 years, 4 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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/websockets/websocket_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/websockets/websocket_impl.h
diff --git a/content/browser/websockets/websocket_impl.h b/content/browser/websockets/websocket_impl.h
index fa3b5d83a6692e1876ec9df903468a8bbee895a9..00c9f0db13689570bbb3ab945142cd1217903852 100644
--- a/content/browser/websockets/websocket_impl.h
+++ b/content/browser/websockets/websocket_impl.h
@@ -56,16 +56,16 @@ class CONTENT_EXPORT WebSocketImpl
// mojom::WebSocket methods:
void AddChannelRequest(const GURL& url,
- mojo::Array<mojo::String> requested_protocols,
+ const std::vector<std::string>& requested_protocols,
const url::Origin& origin,
const GURL& first_party_for_cookies,
- const mojo::String& user_agent_override,
+ const std::string& user_agent_override,
mojom::WebSocketClientPtr client) override;
- void SendFrame(bool fin, mojom::WebSocketMessageType type,
- mojo::Array<uint8_t> data) override;
+ void SendFrame(bool fin,
+ mojom::WebSocketMessageType type,
+ const std::vector<uint8_t>& data) override;
void SendFlowControl(int64_t quota) override;
- void StartClosingHandshake(uint16_t code,
- const mojo::String& reason) override;
+ void StartClosingHandshake(uint16_t code, const std::string& reason) override;
bool handshake_succeeded() const { return handshake_succeeded_; }
void OnHandshakeSucceeded() { handshake_succeeded_ = true; }
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/browser/websockets/websocket_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698