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

Side by Side Diff: content/browser/geolocation/core_location_data_provider_mac.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
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 // This file declares a CoreLocation data provider class that allows the 5 // This file declares a CoreLocation data provider class that allows the
6 // CoreLocation framework to run on the UI thread, since the Geolocation API's 6 // CoreLocation framework to run on the UI thread, since the Geolocation API's
7 // providers all live on the IO thread 7 // providers all live on the IO thread
8 8
9 #ifndef CONTENT_BROWSER_GEOLOCATION_CORE_LOCATION_DATA_PROVIDER_H_ 9 #ifndef CONTENT_BROWSER_GEOLOCATION_CORE_LOCATION_DATA_PROVIDER_H_
10 #define CONTENT_BROWSER_GEOLOCATION_CORE_LOCATION_DATA_PROVIDER_H_ 10 #define CONTENT_BROWSER_GEOLOCATION_CORE_LOCATION_DATA_PROVIDER_H_
11 #pragma once
12 11
13 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_nsobject.h" 13 #include "base/memory/scoped_nsobject.h"
15 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
16 #include "content/public/common/geoposition.h" 15 #include "content/public/common/geoposition.h"
17 16
18 #import <Foundation/Foundation.h> 17 #import <Foundation/Foundation.h>
19 18
20 class CoreLocationProviderMac; 19 class CoreLocationProviderMac;
21 @class CoreLocationWrapperMac; 20 @class CoreLocationWrapperMac;
(...skipping 21 matching lines...) Expand all
43 // This must execute in the origin thread (IO thread) 42 // This must execute in the origin thread (IO thread)
44 void PositionUpdated(content::Geoposition position); 43 void PositionUpdated(content::Geoposition position);
45 44
46 // The wrapper class that supplies this class with position data 45 // The wrapper class that supplies this class with position data
47 scoped_nsobject<CoreLocationWrapperMac> wrapper_; 46 scoped_nsobject<CoreLocationWrapperMac> wrapper_;
48 // The LocationProviderBase class that should receive position data 47 // The LocationProviderBase class that should receive position data
49 CoreLocationProviderMac* provider_; 48 CoreLocationProviderMac* provider_;
50 }; 49 };
51 50
52 #endif // CONTENT_BROWSER_GEOLOCATION_CORE_LOCATION_DATA_PROVIDER_H_ 51 #endif // CONTENT_BROWSER_GEOLOCATION_CORE_LOCATION_DATA_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/arbitrator_dependency_factory.h ('k') | content/browser/geolocation/core_location_provider_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698