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

Side by Side Diff: components/content_settings/core/browser/content_settings_usages_state.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_USAGES_STATE_H _ 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_USAGES_STATE_H _
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_USAGES_STATE_H _ 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_USAGES_STATE_H _
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
11 #include "base/macros.h"
11 #include "components/content_settings/core/common/content_settings.h" 12 #include "components/content_settings/core/common/content_settings.h"
12 #include "components/content_settings/core/common/content_settings_types.h" 13 #include "components/content_settings/core/common/content_settings_types.h"
13 #include "url/gurl.h" 14 #include "url/gurl.h"
14 15
15 class HostContentSettingsMap; 16 class HostContentSettingsMap;
16 class PrefService; 17 class PrefService;
17 18
18 // This class manages a content setting state per tab for a given 19 // This class manages a content setting state per tab for a given
19 // |ContentSettingsType|, and provides information and presentation data about 20 // |ContentSettingsType|, and provides information and presentation data about
20 // the content setting usage. 21 // the content setting usage.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 PrefService* const pref_service_; 78 PrefService* const pref_service_;
78 std::string accept_language_pref_; 79 std::string accept_language_pref_;
79 ContentSettingsType type_; 80 ContentSettingsType type_;
80 StateMap state_map_; 81 StateMap state_map_;
81 GURL embedder_url_; 82 GURL embedder_url_;
82 83
83 DISALLOW_COPY_AND_ASSIGN(ContentSettingsUsagesState); 84 DISALLOW_COPY_AND_ASSIGN(ContentSettingsUsagesState);
84 }; 85 };
85 86
86 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_USAGES_STAT E_H_ 87 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_USAGES_STAT E_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698