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

Side by Side Diff: net/dns/serial_worker.cc

Issue 1969043002: Fix include path for moved thread_task_runner_handle.h header in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/dns/serial_worker.h" 5 #include "net/dns/serial_worker.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
10 #include "base/threading/worker_pool.h" 10 #include "base/threading/worker_pool.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 SerialWorker::SerialWorker() 14 SerialWorker::SerialWorker()
15 : task_runner_(base::ThreadTaskRunnerHandle::Get()), state_(IDLE) { 15 : task_runner_(base::ThreadTaskRunnerHandle::Get()), state_(IDLE) {
16 } 16 }
17 17
18 SerialWorker::~SerialWorker() {} 18 SerialWorker::~SerialWorker() {}
19 19
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 state_ = IDLE; 91 state_ = IDLE;
92 WorkNow(); 92 WorkNow();
93 return; 93 return;
94 default: 94 default:
95 NOTREACHED() << "Unexpected state " << state_; 95 NOTREACHED() << "Unexpected state " << state_;
96 } 96 }
97 } 97 }
98 98
99 } // namespace net 99 } // namespace net
100 100
OLDNEW
« no previous file with comments | « net/dns/mock_mdns_socket_factory.cc ('k') | net/extras/sqlite/sqlite_channel_id_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698