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 14 matching lines...) Expand all Loading... |
25 #include "base/base64.h" | 25 #include "base/base64.h" |
26 #include "base/basictypes.h" | 26 #include "base/basictypes.h" |
27 #include "base/bind.h" | 27 #include "base/bind.h" |
28 #include "base/bind_helpers.h" | 28 #include "base/bind_helpers.h" |
29 #include "base/lazy_instance.h" | 29 #include "base/lazy_instance.h" |
30 #include "base/logging.h" | 30 #include "base/logging.h" |
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/sha1.h" | 36 #include "base/sha1.h" |
36 #include "base/stl_util.h" | 37 #include "base/stl_util.h" |
37 #include "base/string_util.h" | 38 #include "base/string_util.h" |
38 #include "base/strings/string_number_conversions.h" | 39 #include "base/strings/string_number_conversions.h" |
39 #include "base/sys_byteorder.h" | 40 #include "base/sys_byteorder.h" |
40 #include "base/task/sequenced_task_runner_helpers.h" | |
41 #include "chrome/browser/chromeos/web_socket_proxy_helper.h" | 41 #include "chrome/browser/chromeos/web_socket_proxy_helper.h" |
42 #include "chrome/browser/internal_auth.h" | 42 #include "chrome/browser/internal_auth.h" |
43 #include "chrome/common/chrome_notification_types.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 "googleurl/src/gurl.h" | 50 #include "googleurl/src/gurl.h" |
(...skipping 1850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1901 | 1901 |
1902 void WebSocketProxy::Shutdown() { | 1902 void WebSocketProxy::Shutdown() { |
1903 static_cast<Serv*>(impl_)->Shutdown(); | 1903 static_cast<Serv*>(impl_)->Shutdown(); |
1904 } | 1904 } |
1905 | 1905 |
1906 void WebSocketProxy::OnNetworkChange() { | 1906 void WebSocketProxy::OnNetworkChange() { |
1907 static_cast<Serv*>(impl_)->OnNetworkChange(); | 1907 static_cast<Serv*>(impl_)->OnNetworkChange(); |
1908 } | 1908 } |
1909 | 1909 |
1910 } // namespace chromeos | 1910 } // namespace chromeos |
OLD | NEW |