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

Side by Side Diff: content/browser/plugin_content_origin_whitelist.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PLUGIN_CONTENT_ORIGIN_WHITELIST_H_ 5 #ifndef CONTENT_BROWSER_PLUGIN_CONTENT_ORIGIN_WHITELIST_H_
6 #define CONTENT_BROWSER_PLUGIN_CONTENT_ORIGIN_WHITELIST_H_ 6 #define CONTENT_BROWSER_PLUGIN_CONTENT_ORIGIN_WHITELIST_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/macros.h"
10 #include "content/public/browser/web_contents_observer.h" 11 #include "content/public/browser/web_contents_observer.h"
11 #include "url/origin.h" 12 #include "url/origin.h"
12 13
13 namespace content { 14 namespace content {
14 15
15 class WebContents; 16 class WebContents;
16 17
17 // This class manages the tab-wide list of temporarily whitelisted plugin 18 // This class manages the tab-wide list of temporarily whitelisted plugin
18 // content origins that are exempt from power saving. 19 // content origins that are exempt from power saving.
19 // 20 //
(...skipping 22 matching lines...) Expand all
42 void OnPluginContentOriginAllowed(const url::Origin& content_origin); 43 void OnPluginContentOriginAllowed(const url::Origin& content_origin);
43 44
44 std::set<url::Origin> whitelist_; 45 std::set<url::Origin> whitelist_;
45 46
46 DISALLOW_COPY_AND_ASSIGN(PluginContentOriginWhitelist); 47 DISALLOW_COPY_AND_ASSIGN(PluginContentOriginWhitelist);
47 }; 48 };
48 49
49 } // namespace content 50 } // namespace content
50 51
51 #endif // CONTENT_BROWSER_PLUGIN_CONTENT_ORIGIN_WHITELIST_H_ 52 #endif // CONTENT_BROWSER_PLUGIN_CONTENT_ORIGIN_WHITELIST_H_
OLDNEW
« no previous file with comments | « content/browser/permissions/permission_service_impl.cc ('k') | content/browser/plugin_data_remover_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698