OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/chrome_browser_main_mac.h" | 5 #include "chrome/browser/chrome_browser_main_mac.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
12 #include "base/mac/bundle_locations.h" | 12 #include "base/mac/bundle_locations.h" |
13 #import "base/mac/foundation_util.h" | 13 #import "base/mac/foundation_util.h" |
14 #include "base/mac/mac_util.h" | 14 #include "base/mac/mac_util.h" |
15 #include "base/mac/scoped_nsobject.h" | 15 #include "base/mac/scoped_nsobject.h" |
16 #include "base/path_service.h" | 16 #include "base/path_service.h" |
17 #include "base/thread_task_runner_handle.h" | 17 #include "base/threading/thread_task_runner_handle.h" |
18 #import "chrome/browser/app_controller_mac.h" | 18 #import "chrome/browser/app_controller_mac.h" |
19 #include "chrome/browser/apps/app_shim/app_shim_host_manager_mac.h" | 19 #include "chrome/browser/apps/app_shim/app_shim_host_manager_mac.h" |
20 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
21 #import "chrome/browser/chrome_browser_application_mac.h" | 21 #import "chrome/browser/chrome_browser_application_mac.h" |
22 #include "chrome/browser/mac/install_from_dmg.h" | 22 #include "chrome/browser/mac/install_from_dmg.h" |
23 #import "chrome/browser/mac/keystone_glue.h" | 23 #import "chrome/browser/mac/keystone_glue.h" |
24 #include "chrome/browser/mac/mac_startup_profiler.h" | 24 #include "chrome/browser/mac/mac_startup_profiler.h" |
25 #include "chrome/browser/ui/app_list/app_list_service.h" | 25 #include "chrome/browser/ui/app_list/app_list_service.h" |
26 #include "chrome/common/chrome_paths.h" | 26 #include "chrome/common/chrome_paths.h" |
27 #include "chrome/common/chrome_switches.h" | 27 #include "chrome/common/chrome_switches.h" |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 [glue updateProfileCountsWithNumProfiles:0 | 202 [glue updateProfileCountsWithNumProfiles:0 |
203 numSignedInProfiles:0]; | 203 numSignedInProfiles:0]; |
204 } | 204 } |
205 } | 205 } |
206 | 206 |
207 void ChromeBrowserMainPartsMac::DidEndMainMessageLoop() { | 207 void ChromeBrowserMainPartsMac::DidEndMainMessageLoop() { |
208 AppController* appController = | 208 AppController* appController = |
209 base::mac::ObjCCastStrict<AppController>([NSApp delegate]); | 209 base::mac::ObjCCastStrict<AppController>([NSApp delegate]); |
210 [appController didEndMainMessageLoop]; | 210 [appController didEndMainMessageLoop]; |
211 } | 211 } |
OLD | NEW |