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

Side by Side Diff: content/public/browser/location_provider.h

Issue 261383002: Remove content/port directory and move the 3 remaining interfaces to content/public. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_PORT_BROWSER_LOCATION_PROVIDER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_LOCATION_PROVIDER_H_
6 #define CONTENT_PORT_BROWSER_LOCATION_PROVIDER_H_ 6 #define CONTENT_PUBLIC_BROWSER_LOCATION_PROVIDER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/public/common/geoposition.h" 10 #include "content/public/common/geoposition.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 class LocationProvider; 14 class LocationProvider;
15 15
16 // The interface for providing location information. 16 // The interface for providing location information.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 // Called everytime permission is granted to a page for using geolocation. 49 // Called everytime permission is granted to a page for using geolocation.
50 // This may either be through explicit user action (e.g. responding to the 50 // This may either be through explicit user action (e.g. responding to the
51 // infobar prompt) or inferred from a persisted site permission. 51 // infobar prompt) or inferred from a persisted site permission.
52 // Note: See |StartProvider()| for more information. 52 // Note: See |StartProvider()| for more information.
53 virtual void OnPermissionGranted() = 0; 53 virtual void OnPermissionGranted() = 0;
54 }; 54 };
55 55
56 } // namespace content 56 } // namespace content
57 57
58 #endif // CONTENT_PORT_BROWSER_LOCATION_PROVIDER_H_ 58 #endif // CONTENT_PUBLIC_BROWSER_LOCATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « content/port/browser/vibration_provider.h ('k') | content/public/browser/render_widget_host_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698