| 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 19 matching lines...) Expand all Loading... |
| 30 #include "base/sha1.h" | 30 #include "base/sha1.h" |
| 31 #include "base/stl_util.h" | 31 #include "base/stl_util.h" |
| 32 #include "base/string_number_conversions.h" | 32 #include "base/string_number_conversions.h" |
| 33 #include "base/string_util.h" | 33 #include "base/string_util.h" |
| 34 #include "chrome/browser/internal_auth.h" | 34 #include "chrome/browser/internal_auth.h" |
| 35 #include "chrome/common/chrome_notification_types.h" | 35 #include "chrome/common/chrome_notification_types.h" |
| 36 #include "chrome/common/url_constants.h" | 36 #include "chrome/common/url_constants.h" |
| 37 #include "content/browser/browser_thread.h" | 37 #include "content/browser/browser_thread.h" |
| 38 #include "content/common/content_notification_types.h" | 38 #include "content/common/content_notification_types.h" |
| 39 #include "content/common/notification_service.h" | 39 #include "content/common/notification_service.h" |
| 40 #include "content/common/url_constants.h" | 40 #include "content/public/common/url_constants.h" |
| 41 #include "googleurl/src/gurl.h" | 41 #include "googleurl/src/gurl.h" |
| 42 #include "third_party/libevent/evdns.h" | 42 #include "third_party/libevent/evdns.h" |
| 43 #include "third_party/libevent/event.h" | 43 #include "third_party/libevent/event.h" |
| 44 | 44 |
| 45 namespace chromeos { | 45 namespace chromeos { |
| 46 | 46 |
| 47 namespace { | 47 namespace { |
| 48 | 48 |
| 49 const uint8 kCRLF[] = "\r\n"; | 49 const uint8 kCRLF[] = "\r\n"; |
| 50 const uint8 kCRLFCRLF[] = "\r\n\r\n"; | 50 const uint8 kCRLFCRLF[] = "\r\n\r\n"; |
| (...skipping 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1393 | 1393 |
| 1394 void WebSocketProxy::Shutdown() { | 1394 void WebSocketProxy::Shutdown() { |
| 1395 static_cast<Serv*>(impl_)->Shutdown(); | 1395 static_cast<Serv*>(impl_)->Shutdown(); |
| 1396 } | 1396 } |
| 1397 | 1397 |
| 1398 void WebSocketProxy::OnNetworkChange() { | 1398 void WebSocketProxy::OnNetworkChange() { |
| 1399 static_cast<Serv*>(impl_)->OnNetworkChange(); | 1399 static_cast<Serv*>(impl_)->OnNetworkChange(); |
| 1400 } | 1400 } |
| 1401 | 1401 |
| 1402 } // namespace chromeos | 1402 } // namespace chromeos |
| OLD | NEW |