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

Side by Side Diff: chrome/browser/browser_main_mac.mm

Issue 7610009: If no locale data files can be found, show a dialog and exit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win compile Created 9 years, 4 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/browser/browser_main_gtk.cc ('k') | chrome/browser/browser_main_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 27 matching lines...) Expand all
38 } 38 }
39 39
40 void RecordBrowserStartupTime() { 40 void RecordBrowserStartupTime() {
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 void ShowMissingLocaleMessageBox() {
49 // Not called on Mac because we load the locale files differently.
50 }
51
48 // From browser_main_win.h, stubs until we figure out the right thing... 52 // From browser_main_win.h, stubs until we figure out the right thing...
49 53
50 int DoUninstallTasks(bool chrome_still_running) { 54 int DoUninstallTasks(bool chrome_still_running) {
51 return content::RESULT_CODE_NORMAL_EXIT; 55 return content::RESULT_CODE_NORMAL_EXIT;
52 } 56 }
53 57
54 int HandleIconsCommands(const CommandLine& parsed_command_line) { 58 int HandleIconsCommands(const CommandLine& parsed_command_line) {
55 return 0; 59 return 0;
56 } 60 }
57 61
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 crypto::EnsureNSPRInit(); 148 crypto::EnsureNSPRInit();
145 } 149 }
146 } 150 }
147 }; 151 };
148 152
149 // static 153 // static
150 BrowserMainParts* BrowserMainParts::CreateBrowserMainParts( 154 BrowserMainParts* BrowserMainParts::CreateBrowserMainParts(
151 const MainFunctionParams& parameters) { 155 const MainFunctionParams& parameters) {
152 return new BrowserMainPartsMac(parameters); 156 return new BrowserMainPartsMac(parameters);
153 } 157 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_main_gtk.cc ('k') | chrome/browser/browser_main_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698