| OLD | NEW |
| 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 #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 20 matching lines...) Expand all Loading... |
| 31 #include "base/memory/ref_counted.h" | 31 #include "base/memory/ref_counted.h" |
| 32 #include "base/memory/scoped_ptr.h" | 32 #include "base/memory/scoped_ptr.h" |
| 33 #include "base/memory/weak_ptr.h" | 33 #include "base/memory/weak_ptr.h" |
| 34 #include "base/message_loop.h" | 34 #include "base/message_loop.h" |
| 35 #include "base/sequenced_task_runner_helpers.h" | 35 #include "base/sequenced_task_runner_helpers.h" |
| 36 #include "base/sha1.h" | 36 #include "base/sha1.h" |
| 37 #include "base/stl_util.h" | 37 #include "base/stl_util.h" |
| 38 #include "base/strings/string_number_conversions.h" | 38 #include "base/strings/string_number_conversions.h" |
| 39 #include "base/strings/string_util.h" | 39 #include "base/strings/string_util.h" |
| 40 #include "base/sys_byteorder.h" | 40 #include "base/sys_byteorder.h" |
| 41 #include "chrome/browser/chrome_notification_types.h" |
| 41 #include "chrome/browser/chromeos/web_socket_proxy_helper.h" | 42 #include "chrome/browser/chromeos/web_socket_proxy_helper.h" |
| 42 #include "chrome/browser/internal_auth.h" | 43 #include "chrome/browser/internal_auth.h" |
| 43 #include "chrome/common/chrome_notification_types.h" | |
| 44 #include "content/public/browser/browser_thread.h" | 44 #include "content/public/browser/browser_thread.h" |
| 45 #include "content/public/browser/notification_details.h" | 45 #include "content/public/browser/notification_details.h" |
| 46 #include "content/public/browser/notification_service.h" | 46 #include "content/public/browser/notification_service.h" |
| 47 #include "content/public/browser/notification_types.h" | 47 #include "content/public/browser/notification_types.h" |
| 48 #include "content/public/common/url_constants.h" | 48 #include "content/public/common/url_constants.h" |
| 49 #include "extensions/common/constants.h" | 49 #include "extensions/common/constants.h" |
| 50 #include "net/base/address_list.h" | 50 #include "net/base/address_list.h" |
| 51 #include "net/base/host_port_pair.h" | 51 #include "net/base/host_port_pair.h" |
| 52 #include "net/base/io_buffer.h" | 52 #include "net/base/io_buffer.h" |
| 53 #include "net/base/net_errors.h" | 53 #include "net/base/net_errors.h" |
| (...skipping 1855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1909 | 1909 |
| 1910 void WebSocketProxy::Shutdown() { | 1910 void WebSocketProxy::Shutdown() { |
| 1911 static_cast<Serv*>(impl_)->Shutdown(); | 1911 static_cast<Serv*>(impl_)->Shutdown(); |
| 1912 } | 1912 } |
| 1913 | 1913 |
| 1914 void WebSocketProxy::OnNetworkChange() { | 1914 void WebSocketProxy::OnNetworkChange() { |
| 1915 static_cast<Serv*>(impl_)->OnNetworkChange(); | 1915 static_cast<Serv*>(impl_)->OnNetworkChange(); |
| 1916 } | 1916 } |
| 1917 | 1917 |
| 1918 } // namespace chromeos | 1918 } // namespace chromeos |
| OLD | NEW |