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

Side by Side Diff: content/browser/geofencing/geofencing_service.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/browser/geofencing/geofencing_service.h" 5 #include "content/browser/geofencing/geofencing_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "content/browser/geofencing/geofencing_provider.h" 13 #include "content/browser/geofencing/geofencing_provider.h"
14 #include "content/browser/geofencing/geofencing_registration_delegate.h" 14 #include "content/browser/geofencing/geofencing_registration_delegate.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" 16 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h"
17 17
18 namespace content { 18 namespace content {
19 19
20 namespace { 20 namespace {
21 21
22 void RunSoon(const base::Closure& callback) { 22 void RunSoon(const base::Closure& callback) {
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 registration_iterator->second.delegate->RegistrationFinished( 194 registration_iterator->second.delegate->RegistrationFinished(
195 geofencing_registration_id, status); 195 geofencing_registration_id, status);
196 196
197 if (status != GEOFENCING_STATUS_OK) { 197 if (status != GEOFENCING_STATUS_OK) {
198 // Registration failed, remove from our book-keeping. 198 // Registration failed, remove from our book-keeping.
199 registrations_.erase(registration_iterator); 199 registrations_.erase(registration_iterator);
200 } 200 }
201 } 201 }
202 202
203 } // namespace content 203 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gamepad/gamepad_provider.cc ('k') | content/browser/geofencing/mock_geofencing_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698