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

Side by Side Diff: chrome/common/mac/cfbundle_blocker.h

Issue 7748042: Merge trunk r97497 and its many dependents to the 14.0.835 branch. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/835/src/
Patch Set: Created 9 years, 3 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
« no previous file with comments | « chrome/common/mac/DEPS ('k') | chrome/common/mac/cfbundle_blocker.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 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_COMMON_MAC_CFBUNDLE_BLOCKER_H_
6 #define CHROME_COMMON_MAC_CFBUNDLE_BLOCKER_H_
7 #pragma once
8
9 namespace chrome {
10 namespace common {
11 namespace mac {
12
13 // Arranges to block loading of some third-party plug-in code that might try
14 // to inject itself into the process. Modules loaded by CFBundle are blocked
15 // if located within specific directories. Because NSBundle uses CFBundle
16 // behind the scenes, this also blocks modules loaded by NSBundle when located
17 // in those same specific directories.
18 //
19 // Blocked modules include input managers, contextual menu items, and
20 // scripting additions installed in per-user (~/Library), per-machine
21 // (/Library), or network (/Network/Library) locations. Modules installed in
22 // the operating system location (/System/Library) are never blocked.
23 //
24 // This mechanism does not prevent CFBundle (or NSBundle) objects from being
25 // created, but it does block them from loading modules into the process.
26 void EnableCFBundleBlocker();
27
28 } // namespace mac
29 } // namespace common
30 } // namespace chrome
31
32 #endif // CHROME_COMMON_MAC_CFBUNDLE_BLOCKER_H_
OLDNEW
« no previous file with comments | « chrome/common/mac/DEPS ('k') | chrome/common/mac/cfbundle_blocker.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698