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

Side by Side Diff: chrome/browser/chrome_browser_main_gtk.cc

Issue 7967008: Revert 101861 - Get rid of content::DidEndMainMessageLoop since it was declared in content but de... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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_process_impl.cc ('k') | chrome/browser/chrome_browser_main_mac.h » ('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/chrome_browser_main_gtk.h" 5 #include "chrome/browser/chrome_browser_main_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 #include <sys/stat.h> 8 #include <sys/stat.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <unistd.h> 10 #include <unistd.h>
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 message = l10n_util::GetStringUTF8(IDS_PRODUCT_NAME); 123 message = l10n_util::GetStringUTF8(IDS_PRODUCT_NAME);
124 gtk_window_set_title(GTK_WINDOW(dialog), message.c_str()); 124 gtk_window_set_title(GTK_WINDOW(dialog), message.c_str());
125 125
126 gtk_dialog_run(GTK_DIALOG(dialog)); 126 gtk_dialog_run(GTK_DIALOG(dialog));
127 gtk_widget_destroy(dialog); 127 gtk_widget_destroy(dialog);
128 exit(EXIT_FAILURE); 128 exit(EXIT_FAILURE);
129 } 129 }
130 #endif 130 #endif
131 } 131 }
132 132
133 namespace content {
134
135 void DidEndMainMessageLoop() {
136 }
137
138 }
139
133 void RecordBreakpadStatusUMA(MetricsService* metrics) { 140 void RecordBreakpadStatusUMA(MetricsService* metrics) {
134 #if defined(USE_LINUX_BREAKPAD) 141 #if defined(USE_LINUX_BREAKPAD)
135 metrics->RecordBreakpadRegistration(IsCrashReporterEnabled()); 142 metrics->RecordBreakpadRegistration(IsCrashReporterEnabled());
136 #else 143 #else
137 metrics->RecordBreakpadRegistration(false); 144 metrics->RecordBreakpadRegistration(false);
138 #endif 145 #endif
139 metrics->RecordBreakpadHasDebugger(base::debug::BeingDebugged()); 146 metrics->RecordBreakpadHasDebugger(base::debug::BeingDebugged());
140 } 147 }
141 148
142 void WarnAboutMinimumSystemRequirements() { 149 void WarnAboutMinimumSystemRequirements() {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 } 185 }
179 186
180 void PrepareRestartOnCrashEnviroment(const CommandLine &parsed_command_line) { 187 void PrepareRestartOnCrashEnviroment(const CommandLine &parsed_command_line) {
181 } 188 }
182 189
183 void SetBrowserX11ErrorHandlers() { 190 void SetBrowserX11ErrorHandlers() {
184 // Set up error handlers to make sure profile gets written if X server 191 // Set up error handlers to make sure profile gets written if X server
185 // goes away. 192 // goes away.
186 ui::SetX11ErrorHandlers(BrowserX11ErrorHandler, BrowserX11IOErrorHandler); 193 ui::SetX11ErrorHandlers(BrowserX11ErrorHandler, BrowserX11IOErrorHandler);
187 } 194 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/chrome_browser_main_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698