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

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

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With this patchset, Chrome runs and exits normally on Linux. Created 9 years, 1 month 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
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 11 matching lines...) Expand all
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698