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

Side by Side Diff: content/browser/geolocation/geolocation_observer.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 #ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_OBSERVER_H_
6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_OBSERVER_H_ 6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_OBSERVER_H_
7 #pragma once
8 7
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
11 10
12 namespace content { 11 namespace content {
13 struct Geoposition; 12 struct Geoposition;
14 } 13 }
15 14
16 // This interface is implemented by observers of GeolocationProvider as 15 // This interface is implemented by observers of GeolocationProvider as
17 // well as GeolocationProvider itself as an observer of GeolocationArbitrator. 16 // well as GeolocationProvider itself as an observer of GeolocationArbitrator.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 49
51 // Collapse options with another instance so that both are satisfied. 50 // Collapse options with another instance so that both are satisfied.
52 void Collapse(const GeolocationObserverOptions& other) { 51 void Collapse(const GeolocationObserverOptions& other) {
53 use_high_accuracy = use_high_accuracy | other.use_high_accuracy; 52 use_high_accuracy = use_high_accuracy | other.use_high_accuracy;
54 } 53 }
55 54
56 bool use_high_accuracy; 55 bool use_high_accuracy;
57 }; 56 };
58 57
59 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_OBSERVER_H_ 58 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/geolocation_dispatcher_host.h ('k') | content/browser/geolocation/geolocation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698