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

Side by Side Diff: chrome/browser/extensions/extension_util.h

Issue 2396903002: Supervised Users always need custodian approval for permission increase (Closed)
Patch Set: Remove deleted method from the header file. Created 4 years, 2 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 CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // feature is stable. 115 // feature is stable.
116 bool IsNewBookmarkAppsEnabled(); 116 bool IsNewBookmarkAppsEnabled();
117 117
118 // TODO(dominickn): http://crbug.com/517682: Remove this entirely once 118 // TODO(dominickn): http://crbug.com/517682: Remove this entirely once
119 // open in window is stable on Mac. 119 // open in window is stable on Mac.
120 bool CanHostedAppsOpenInWindows(); 120 bool CanHostedAppsOpenInWindows();
121 121
122 // Returns true for custodian-installed extensions in a supervised profile. 122 // Returns true for custodian-installed extensions in a supervised profile.
123 bool IsExtensionSupervised(const Extension* extension, Profile* profile); 123 bool IsExtensionSupervised(const Extension* extension, Profile* profile);
124 124
125 // Returns true if supervised users need approval from their custodian for
126 // approving escalated permissions on updated extensions.
127 bool NeedCustodianApprovalForPermissionIncrease(const Profile* profile);
128
129 } // namespace util 125 } // namespace util
130 } // namespace extensions 126 } // namespace extensions
131 127
132 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_ 128 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service_sync_unittest.cc ('k') | chrome/browser/extensions/extension_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698