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

Side by Side Diff: content/browser/geofencing/mock_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 // MSVC++ requires this to be set before any other includes to get M_PI. 5 // MSVC++ requires this to be set before any other includes to get M_PI.
6 #define _USE_MATH_DEFINES 6 #define _USE_MATH_DEFINES
7 7
8 #include "content/browser/geofencing/mock_geofencing_service.h" 8 #include "content/browser/geofencing/mock_geofencing_service.h"
9 9
10 #include <cmath> 10 #include <cmath>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "content/browser/geofencing/geofencing_registration_delegate.h" 16 #include "content/browser/geofencing/geofencing_registration_delegate.h"
17 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" 17 #include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h"
18 18
19 namespace content { 19 namespace content {
20 20
21 namespace { 21 namespace {
22 22
23 void RegisterRegionResult(GeofencingRegistrationDelegate* delegate, 23 void RegisterRegionResult(GeofencingRegistrationDelegate* delegate,
24 int64_t geofencing_registration_id, 24 int64_t geofencing_registration_id,
25 GeofencingStatus status) { 25 GeofencingStatus status) {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 } 117 }
118 return id; 118 return id;
119 } 119 }
120 120
121 void MockGeofencingService::UnregisterRegion( 121 void MockGeofencingService::UnregisterRegion(
122 int64_t geofencing_registration_id) { 122 int64_t geofencing_registration_id) {
123 registrations_.erase(geofencing_registration_id); 123 registrations_.erase(geofencing_registration_id);
124 } 124 }
125 125
126 } // namespace content 126 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/geofencing/geofencing_service.cc ('k') | content/browser/geolocation/fake_access_token_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698