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

Side by Side Diff: chrome/browser/chromeos/web_socket_proxy.cc

Issue 7585029: base: Remove using declaration of MD5Digest now that hunspell was fixed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/md5.h ('k') | chrome/browser/web_applications/web_app.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 Chan primchan_; 353 Chan primchan_;
354 // Destination channel is a proxied connection. 354 // Destination channel is a proxied connection.
355 Chan destchan_; 355 Chan destchan_;
356 356
357 EventKey evkey_; 357 EventKey evkey_;
358 358
359 // Header fields supplied by client at initial websocket handshake. 359 // Header fields supplied by client at initial websocket handshake.
360 std::map<std::string, std::string> header_fields_; 360 std::map<std::string, std::string> header_fields_;
361 361
362 // Cryptohashed answer for websocket handshake. 362 // Cryptohashed answer for websocket handshake.
363 MD5Digest handshake_response_; 363 base::MD5Digest handshake_response_;
364 364
365 // Hostname and port of destination socket. 365 // Hostname and port of destination socket.
366 // Websocket client supplies them in first data frame (destframe). 366 // Websocket client supplies them in first data frame (destframe).
367 std::string destname_; 367 std::string destname_;
368 uint32 destport_; 368 uint32 destport_;
369 369
370 // We try to DNS resolve hostname in both IPv4 and IPv6 domains. 370 // We try to DNS resolve hostname in both IPv4 and IPv6 domains.
371 // Track resolution failures here. 371 // Track resolution failures here.
372 bool destresolution_ipv4_failed_; 372 bool destresolution_ipv4_failed_;
373 bool destresolution_ipv6_failed_; 373 bool destresolution_ipv6_failed_;
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
1289 void WebSocketProxy::Run() { 1289 void WebSocketProxy::Run() {
1290 static_cast<Serv*>(impl_)->Run(); 1290 static_cast<Serv*>(impl_)->Run();
1291 } 1291 }
1292 1292
1293 void WebSocketProxy::Shutdown() { 1293 void WebSocketProxy::Shutdown() {
1294 static_cast<Serv*>(impl_)->Shutdown(); 1294 static_cast<Serv*>(impl_)->Shutdown();
1295 } 1295 }
1296 1296
1297 } // namespace chromeos 1297 } // namespace chromeos
1298 1298
OLDNEW
« no previous file with comments | « base/md5.h ('k') | chrome/browser/web_applications/web_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698