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

Side by Side Diff: content/browser/geofencing/geofencing_manager.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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 #ifndef CONTENT_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_
6 #define CONTENT_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_ 6 #define CONTENT_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback_forward.h" 12 #include "base/callback_forward.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "content/browser/geofencing/geofencing_registration_delegate.h" 16 #include "content/browser/geofencing/geofencing_registration_delegate.h"
17 #include "content/browser/service_worker/service_worker_context_observer.h" 17 #include "content/browser/service_worker/service_worker_context_observer.h"
18 #include "content/browser/service_worker/service_worker_storage.h" 18 #include "content/browser/service_worker/service_worker_storage.h"
19 #include "content/common/content_export.h" 19 #include "content/common/content_export.h"
20 #include "content/common/geofencing_types.h" 20 #include "content/common/geofencing_types.h"
21 #include "content/common/service_worker/service_worker_status_code.h" 21 #include "content/common/service_worker/service_worker_status_code.h"
22 22
23 namespace base {
23 template <typename T> 24 template <typename T>
24 struct DefaultSingletonTraits; 25 struct DefaultSingletonTraits;
26 } // namespace base // namespace base
27
25 class GURL; 28 class GURL;
26 29
27 namespace blink { 30 namespace blink {
28 struct WebCircularGeofencingRegion; 31 struct WebCircularGeofencingRegion;
29 }; 32 };
30 33
31 namespace content { 34 namespace content {
32 35
33 class GeofencingService; 36 class GeofencingService;
34 class MockGeofencingService; 37 class MockGeofencingService;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 GeofencingService* service_; 191 GeofencingService* service_;
189 scoped_ptr<MockGeofencingService> mock_service_; 192 scoped_ptr<MockGeofencingService> mock_service_;
190 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_; 193 scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_;
191 194
192 DISALLOW_COPY_AND_ASSIGN(GeofencingManager); 195 DISALLOW_COPY_AND_ASSIGN(GeofencingManager);
193 }; 196 };
194 197
195 } // namespace content 198 } // namespace content
196 199
197 #endif // CONTENT_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_ 200 #endif // CONTENT_BROWSER_GEOFENCING_GEOFENCING_MANAGER_H_
OLDNEW
« no previous file with comments | « content/browser/gamepad/gamepad_service.h ('k') | content/browser/geofencing/geofencing_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698