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

Side by Side Diff: chrome/browser/pepper_permission_util.h

Issue 15521002: Flag and whitelist to allow crxfs api in NaCl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ifdef Created 7 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_PEPPER_PERMISSION_UTIL_H_
6 #define CHROME_BROWSER_PEPPER_PERMISSION_UTIL_H_
7
8 #include <set>
9 #include <string>
10
11 class GURL;
12 class Profile;
13
14 namespace chrome {
15
16 // Returns true if the extension or it's shared module is whitelisted, or
17 // appears in command_line_switch.
18 bool IsExtensionOrSharedModuleWhitelisted(
19 Profile* profile,
20 const GURL& url,
21 const std::set<std::string>& whitelist,
22 const char* command_line_switch);
23
24 } // namespace chrome
25
26 #endif // CHROME_BROWSER_PEPPER_PERMISSION_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/pepper_permission_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698