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

Side by Side Diff: net/proxy/proxy_resolver_v8_tracing.cc

Issue 16092013: Use base::MessageLoop in more files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again, sigh Created 7 years, 6 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 | « media/base/android/media_source_player.cc ('k') | remoting/host/setup/start_host.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "net/proxy/proxy_resolver_v8_tracing.h" 5 #include "net/proxy/proxy_resolver_v8_tracing.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 callback_.Reset(); 464 callback_.Reset();
465 465
466 // For good measure, clear this other user-owned pointer. 466 // For good measure, clear this other user-owned pointer.
467 user_results_ = NULL; 467 user_results_ = NULL;
468 } 468 }
469 469
470 ProxyResolverV8* ProxyResolverV8Tracing::Job::v8_resolver() { 470 ProxyResolverV8* ProxyResolverV8Tracing::Job::v8_resolver() {
471 return parent_->v8_resolver_.get(); 471 return parent_->v8_resolver_.get();
472 } 472 }
473 473
474 MessageLoop* ProxyResolverV8Tracing::Job::worker_loop() { 474 base::MessageLoop* ProxyResolverV8Tracing::Job::worker_loop() {
475 return parent_->thread_->message_loop(); 475 return parent_->thread_->message_loop();
476 } 476 }
477 477
478 HostResolver* ProxyResolverV8Tracing::Job::host_resolver() { 478 HostResolver* ProxyResolverV8Tracing::Job::host_resolver() {
479 return parent_->host_resolver_; 479 return parent_->host_resolver_;
480 } 480 }
481 481
482 ProxyResolverErrorObserver* ProxyResolverV8Tracing::Job::error_observer() { 482 ProxyResolverErrorObserver* ProxyResolverV8Tracing::Job::error_observer() {
483 return parent_->error_observer_.get(); 483 return parent_->error_observer_.get();
484 } 484 }
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 DCHECK(!set_pac_script_job_); 1142 DCHECK(!set_pac_script_job_);
1143 CHECK_EQ(0, num_outstanding_callbacks_); 1143 CHECK_EQ(0, num_outstanding_callbacks_);
1144 1144
1145 set_pac_script_job_ = new Job(this); 1145 set_pac_script_job_ = new Job(this);
1146 set_pac_script_job_->StartSetPacScript(script_data, callback); 1146 set_pac_script_job_->StartSetPacScript(script_data, callback);
1147 1147
1148 return ERR_IO_PENDING; 1148 return ERR_IO_PENDING;
1149 } 1149 }
1150 1150
1151 } // namespace net 1151 } // namespace net
OLDNEW
« no previous file with comments | « media/base/android/media_source_player.cc ('k') | remoting/host/setup/start_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698