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

Unified Diff: net/ssl/channel_id_service.cc

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_session_test_util.cc ('k') | net/ssl/channel_id_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/channel_id_service.cc
diff --git a/net/ssl/channel_id_service.cc b/net/ssl/channel_id_service.cc
index 7fcbc539b32187d0e1abcacc140a62eb88672876..cc33ce19c673c4c7e5f0d73048a62da1a6e826df 100644
--- a/net/ssl/channel_id_service.cc
+++ b/net/ssl/channel_id_service.cc
@@ -15,11 +15,11 @@
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "base/message_loop/message_loop_proxy.h"
#include "base/metrics/histogram.h"
#include "base/rand_util.h"
#include "base/stl_util.h"
#include "base/task_runner.h"
+#include "base/thread_task_runner_handle.h"
#include "crypto/ec_private_key.h"
#include "net/base/net_errors.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
@@ -219,14 +219,12 @@ class ChannelIDServiceWorker {
int,
scoped_ptr<ChannelIDStore::ChannelID>)> WorkerDoneCallback;
- ChannelIDServiceWorker(
- const std::string& server_identifier,
- const WorkerDoneCallback& callback)
+ ChannelIDServiceWorker(const std::string& server_identifier,
+ const WorkerDoneCallback& callback)
: server_identifier_(server_identifier),
serial_number_(base::RandInt(0, std::numeric_limits<int>::max())),
- origin_loop_(base::MessageLoopProxy::current()),
- callback_(callback) {
- }
+ origin_loop_(base::ThreadTaskRunnerHandle::Get()),
+ callback_(callback) {}
// Starts the worker on |task_runner|. If the worker fails to start, such as
// if the task runner is shutting down, then it will take care of deleting
« no previous file with comments | « net/spdy/spdy_session_test_util.cc ('k') | net/ssl/channel_id_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698