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

Unified Diff: base/mac/bundle_locations.mm

Issue 2931173003: Implement the V2 sandbox in the process launcher. (Closed)
Patch Set: Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: base/mac/bundle_locations.mm
diff --git a/base/mac/bundle_locations.mm b/base/mac/bundle_locations.mm
index 54021b85ee08c29ad26e1c3a258f9165a87eb4a4..78c0fac2e330d5566b8ea7dbada0e279b72631f2 100644
--- a/base/mac/bundle_locations.mm
+++ b/base/mac/bundle_locations.mm
@@ -47,6 +47,11 @@ FilePath FrameworkBundlePath() {
return NSStringToFilePath([bundle bundlePath]);
}
+std::string GetOuterBundleIdentifier() {
+ NSBundle* bundle = OuterBundle();
+ return base::SysNSStringToUTF8([bundle bundleIdentifier]);
+}
+
static void AssignOverrideBundle(NSBundle* new_bundle,
NSBundle** override_bundle) {
if (new_bundle != *override_bundle) {

Powered by Google App Engine
This is Rietveld 408576698