| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/chromeos/web_socket_proxy.h" | 5 #include "chrome/browser/chromeos/web_socket_proxy.h" |
| 6 | 6 |
| 7 #include <stdio.h> | 7 #include <stdio.h> |
| 8 #include <stdlib.h> | 8 #include <stdlib.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include <sys/socket.h> | 22 #include <sys/socket.h> |
| 23 #include <sys/types.h> | 23 #include <sys/types.h> |
| 24 #include <sys/wait.h> | 24 #include <sys/wait.h> |
| 25 | 25 |
| 26 #include "base/base64.h" | 26 #include "base/base64.h" |
| 27 #include "base/basictypes.h" | 27 #include "base/basictypes.h" |
| 28 #include "base/bind.h" | 28 #include "base/bind.h" |
| 29 #include "base/logging.h" | 29 #include "base/logging.h" |
| 30 #include "base/memory/ref_counted.h" | 30 #include "base/memory/ref_counted.h" |
| 31 #include "base/memory/scoped_ptr.h" | 31 #include "base/memory/scoped_ptr.h" |
| 32 #include "base/message_loop.h" |
| 32 #include "base/sha1.h" | 33 #include "base/sha1.h" |
| 33 #include "base/stl_util.h" | 34 #include "base/stl_util.h" |
| 34 #include "base/string_number_conversions.h" | 35 #include "base/string_number_conversions.h" |
| 35 #include "base/string_util.h" | 36 #include "base/string_util.h" |
| 36 #include "chrome/browser/internal_auth.h" | 37 #include "chrome/browser/internal_auth.h" |
| 37 #include "chrome/common/chrome_notification_types.h" | 38 #include "chrome/common/chrome_notification_types.h" |
| 38 #include "chrome/common/url_constants.h" | 39 #include "chrome/common/url_constants.h" |
| 39 #include "content/public/browser/browser_thread.h" | 40 #include "content/public/browser/browser_thread.h" |
| 40 #include "content/public/browser/notification_details.h" | 41 #include "content/public/browser/notification_details.h" |
| 41 #include "content/public/browser/notification_service.h" | 42 #include "content/public/browser/notification_service.h" |
| (...skipping 1887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1929 | 1930 |
| 1930 void WebSocketProxy::Shutdown() { | 1931 void WebSocketProxy::Shutdown() { |
| 1931 static_cast<Serv*>(impl_)->Shutdown(); | 1932 static_cast<Serv*>(impl_)->Shutdown(); |
| 1932 } | 1933 } |
| 1933 | 1934 |
| 1934 void WebSocketProxy::OnNetworkChange() { | 1935 void WebSocketProxy::OnNetworkChange() { |
| 1935 static_cast<Serv*>(impl_)->OnNetworkChange(); | 1936 static_cast<Serv*>(impl_)->OnNetworkChange(); |
| 1936 } | 1937 } |
| 1937 | 1938 |
| 1938 } // namespace chromeos | 1939 } // namespace chromeos |
| OLD | NEW |