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

Unified Diff: webkit/child/websocketstreamhandle_delegate.h

Issue 19673002: Move webkitplatformsupport_impl and related from glue to child (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
« no previous file with comments | « webkit/child/webkitplatformsupport_impl.cc ('k') | webkit/child/websocketstreamhandle_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/child/websocketstreamhandle_delegate.h
diff --git a/webkit/glue/websocketstreamhandle_delegate.h b/webkit/child/websocketstreamhandle_delegate.h
similarity index 85%
rename from webkit/glue/websocketstreamhandle_delegate.h
rename to webkit/child/websocketstreamhandle_delegate.h
index 2d023295605a267e153900e0238b76e9c85b3d53..ba0822ead69a21a487e9cd4f492a2107b26143be 100644
--- a/webkit/glue/websocketstreamhandle_delegate.h
+++ b/webkit/child/websocketstreamhandle_delegate.h
@@ -1,44 +1,44 @@
-// 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.
-
-#ifndef WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_DELEGATE_H_
-#define WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_DELEGATE_H_
-
-#include "base/strings/string16.h"
-
-class GURL;
-
-namespace WebKit {
-class WebSocketStreamHandle;
-}
-
-namespace webkit_glue {
-
-class WebSocketStreamHandleDelegate {
- public:
- WebSocketStreamHandleDelegate() {}
-
- virtual void WillOpenStream(WebKit::WebSocketStreamHandle* handle,
- const GURL& url) {}
- virtual void WillSendData(WebKit::WebSocketStreamHandle* handle,
- const char* data, int len) {}
-
- virtual void DidOpenStream(WebKit::WebSocketStreamHandle* handle,
- int max_amount_send_allowed) {}
- virtual void DidSendData(WebKit::WebSocketStreamHandle* handle,
- int amount_sent) {}
- virtual void DidReceiveData(WebKit::WebSocketStreamHandle* handle,
- const char* data, int len) {}
- virtual void DidClose(WebKit::WebSocketStreamHandle*) {}
- virtual void DidFail(WebKit::WebSocketStreamHandle* handle,
- int error_code,
- const string16& error_msg) {}
-
- protected:
- virtual ~WebSocketStreamHandleDelegate() {}
-};
-
-} // namespace webkit_glue
-
-#endif // WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_DELEGATE_H_
+// 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.
+
+#ifndef WEBKIT_CHILD_WEBSOCKETSTREAMHANDLE_DELEGATE_H_
+#define WEBKIT_CHILD_WEBSOCKETSTREAMHANDLE_DELEGATE_H_
+
+#include "base/strings/string16.h"
+
+class GURL;
+
+namespace WebKit {
+class WebSocketStreamHandle;
+}
+
+namespace webkit_glue {
+
+class WebSocketStreamHandleDelegate {
+ public:
+ WebSocketStreamHandleDelegate() {}
+
+ virtual void WillOpenStream(WebKit::WebSocketStreamHandle* handle,
+ const GURL& url) {}
+ virtual void WillSendData(WebKit::WebSocketStreamHandle* handle,
+ const char* data, int len) {}
+
+ virtual void DidOpenStream(WebKit::WebSocketStreamHandle* handle,
+ int max_amount_send_allowed) {}
+ virtual void DidSendData(WebKit::WebSocketStreamHandle* handle,
+ int amount_sent) {}
+ virtual void DidReceiveData(WebKit::WebSocketStreamHandle* handle,
+ const char* data, int len) {}
+ virtual void DidClose(WebKit::WebSocketStreamHandle*) {}
+ virtual void DidFail(WebKit::WebSocketStreamHandle* handle,
+ int error_code,
+ const string16& error_msg) {}
+
+ protected:
+ virtual ~WebSocketStreamHandleDelegate() {}
+};
+
+} // namespace webkit_glue
+
+#endif // WEBKIT_CHILD_WEBSOCKETSTREAMHANDLE_DELEGATE_H_
« no previous file with comments | « webkit/child/webkitplatformsupport_impl.cc ('k') | webkit/child/websocketstreamhandle_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698