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

Side by Side Diff: chrome/browser/geolocation/geolocation_settings_state.h

Issue 6597044: Revert 76228 - Move core pieces of geolocation from chrome to content.This is... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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
Property Changes:
Deleted: svn:eol-style
- LF
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_GEOLOCATION_GEOLOCATION_SETTINGS_STATE_H_ 5 #ifndef CHROME_BROWSER_GEOLOCATION_GEOLOCATION_SETTINGS_STATE_H_
6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_SETTINGS_STATE_H_ 6 #define CHROME_BROWSER_GEOLOCATION_GEOLOCATION_SETTINGS_STATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 11
12 #include "chrome/browser/tab_contents/navigation_controller.h"
12 #include "chrome/common/content_settings.h" 13 #include "chrome/common/content_settings.h"
13 #include "content/browser/tab_contents/navigation_controller.h"
14 14
15 class GeolocationContentSettingsMap; 15 class GeolocationContentSettingsMap;
16 16
17 // This class manages the geolocation state per tab, and provides information 17 // This class manages the geolocation state per tab, and provides information
18 // and presentation data about the geolocation usage. 18 // and presentation data about the geolocation usage.
19 class GeolocationSettingsState { 19 class GeolocationSettingsState {
20 public: 20 public:
21 explicit GeolocationSettingsState(Profile* profile); 21 explicit GeolocationSettingsState(Profile* profile);
22 virtual ~GeolocationSettingsState(); 22 virtual ~GeolocationSettingsState();
23 23
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 std::string GURLToFormattedHost(const GURL& url) const; 59 std::string GURLToFormattedHost(const GURL& url) const;
60 60
61 Profile* profile_; 61 Profile* profile_;
62 StateMap state_map_; 62 StateMap state_map_;
63 GURL embedder_url_; 63 GURL embedder_url_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(GeolocationSettingsState); 65 DISALLOW_COPY_AND_ASSIGN(GeolocationSettingsState);
66 }; 66 };
67 67
68 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_SETTINGS_STATE_H_ 68 #endif // CHROME_BROWSER_GEOLOCATION_GEOLOCATION_SETTINGS_STATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/geolocation/geolocation_provider_unittest.cc ('k') | chrome/browser/geolocation/geolocation_settings_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698