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

Side by Side Diff: webkit/glue/websocketstreamhandle_impl.cc

Issue 16434010: Use a direct include of strings headers in webkit/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/websocketstreamhandle_delegate.h ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // An implementation of WebSocketStreamHandle. 5 // An implementation of WebSocketStreamHandle.
6 6
7 #include "webkit/glue/websocketstreamhandle_impl.h" 7 #include "webkit/glue/websocketstreamhandle_impl.h"
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/string16.h" 15 #include "base/strings/string16.h"
16 #include "third_party/WebKit/public/platform/WebData.h" 16 #include "third_party/WebKit/public/platform/WebData.h"
17 #include "third_party/WebKit/public/platform/WebSocketStreamError.h" 17 #include "third_party/WebKit/public/platform/WebSocketStreamError.h"
18 #include "third_party/WebKit/public/platform/WebSocketStreamHandleClient.h" 18 #include "third_party/WebKit/public/platform/WebSocketStreamHandleClient.h"
19 #include "third_party/WebKit/public/platform/WebURL.h" 19 #include "third_party/WebKit/public/platform/WebURL.h"
20 #include "webkit/glue/webkitplatformsupport_impl.h" 20 #include "webkit/glue/webkitplatformsupport_impl.h"
21 #include "webkit/glue/websocketstreamhandle_bridge.h" 21 #include "webkit/glue/websocketstreamhandle_bridge.h"
22 #include "webkit/glue/websocketstreamhandle_delegate.h" 22 #include "webkit/glue/websocketstreamhandle_delegate.h"
23 23
24 using WebKit::WebData; 24 using WebKit::WebData;
25 using WebKit::WebSocketStreamError; 25 using WebKit::WebSocketStreamError;
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 bool WebSocketStreamHandleImpl::send(const WebData& data) { 188 bool WebSocketStreamHandleImpl::send(const WebData& data) {
189 return context_->Send(data); 189 return context_->Send(data);
190 } 190 }
191 191
192 void WebSocketStreamHandleImpl::close() { 192 void WebSocketStreamHandleImpl::close() {
193 context_->Close(); 193 context_->Close();
194 } 194 }
195 195
196 } // namespace webkit_glue 196 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/websocketstreamhandle_delegate.h ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698