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

Side by Side Diff: extensions/shell/app/paths_mac.mm

Issue 1133713009: Subject .mm files to the header sorting presubmit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase - of course... it would be one of my patches I conflict with :| Created 5 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
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 #include "extensions/shell/app/paths_mac.h" 5 #include "extensions/shell/app/paths_mac.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/path_service.h"
10 #include "base/mac/bundle_locations.h" 9 #include "base/mac/bundle_locations.h"
11 #include "base/mac/foundation_util.h" 10 #include "base/mac/foundation_util.h"
11 #include "base/path_service.h"
12 #include "content/public/common/content_paths.h" 12 #include "content/public/common/content_paths.h"
13 13
14 namespace extensions { 14 namespace extensions {
15 15
16 namespace { 16 namespace {
17 17
18 base::FilePath GetFrameworksPath() { 18 base::FilePath GetFrameworksPath() {
19 base::FilePath path; 19 base::FilePath path;
20 PathService::Get(base::FILE_EXE, &path); 20 PathService::Get(base::FILE_EXE, &path);
21 // We now have a path .../App Shell.app/Contents/MacOS/App Shell, and want to 21 // We now have a path .../App Shell.app/Contents/MacOS/App Shell, and want to
(...skipping 21 matching lines...) Expand all
43 void OverrideChildProcessFilePath() { 43 void OverrideChildProcessFilePath() {
44 base::FilePath path = GetFrameworksPath() 44 base::FilePath path = GetFrameworksPath()
45 .Append("App Shell Helper.app") 45 .Append("App Shell Helper.app")
46 .Append("Contents") 46 .Append("Contents")
47 .Append("MacOS") 47 .Append("MacOS")
48 .Append("App Shell Helper"); 48 .Append("App Shell Helper");
49 PathService::Override(content::CHILD_PROCESS_EXE, path); 49 PathService::Override(content::CHILD_PROCESS_EXE, path);
50 } 50 }
51 51
52 } // namespace extensions 52 } // namespace extensions
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_socket_mac.mm ('k') | extensions/shell/browser/shell_desktop_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698