| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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/browser_main_posix.h" | 5 #include "chrome/browser/browser_main_posix.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/debug/debugger.h" | 10 #include "base/debug/debugger.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 // Not implemented on Mac for now. | 41 // Not implemented on Mac for now. |
| 42 } | 42 } |
| 43 | 43 |
| 44 void WarnAboutMinimumSystemRequirements() { | 44 void WarnAboutMinimumSystemRequirements() { |
| 45 // Nothing to check for on Mac right now. | 45 // Nothing to check for on Mac right now. |
| 46 } | 46 } |
| 47 | 47 |
| 48 // From browser_main_win.h, stubs until we figure out the right thing... | 48 // From browser_main_win.h, stubs until we figure out the right thing... |
| 49 | 49 |
| 50 int DoUninstallTasks(bool chrome_still_running) { | 50 int DoUninstallTasks(bool chrome_still_running) { |
| 51 return ResultCodes::NORMAL_EXIT; | 51 return content::RESULT_CODE_NORMAL_EXIT; |
| 52 } | 52 } |
| 53 | 53 |
| 54 int HandleIconsCommands(const CommandLine& parsed_command_line) { | 54 int HandleIconsCommands(const CommandLine& parsed_command_line) { |
| 55 return 0; | 55 return 0; |
| 56 } | 56 } |
| 57 | 57 |
| 58 bool CheckMachineLevelInstall() { | 58 bool CheckMachineLevelInstall() { |
| 59 return false; | 59 return false; |
| 60 } | 60 } |
| 61 | 61 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 crypto::EnsureNSPRInit(); | 144 crypto::EnsureNSPRInit(); |
| 145 } | 145 } |
| 146 } | 146 } |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 // static | 149 // static |
| 150 BrowserMainParts* BrowserMainParts::CreateBrowserMainParts( | 150 BrowserMainParts* BrowserMainParts::CreateBrowserMainParts( |
| 151 const MainFunctionParams& parameters) { | 151 const MainFunctionParams& parameters) { |
| 152 return new BrowserMainPartsMac(parameters); | 152 return new BrowserMainPartsMac(parameters); |
| 153 } | 153 } |
| OLD | NEW |