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

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

Issue 7948006: Get rid of content::DidEndMainMessageLoop since it was declared in content but defined in chrome,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix 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
140 void RecordBreakpadStatusUMA(MetricsService* metrics) { 133 void RecordBreakpadStatusUMA(MetricsService* metrics) {
141 #if defined(USE_LINUX_BREAKPAD) 134 #if defined(USE_LINUX_BREAKPAD)
142 metrics->RecordBreakpadRegistration(IsCrashReporterEnabled()); 135 metrics->RecordBreakpadRegistration(IsCrashReporterEnabled());
143 #else 136 #else
144 metrics->RecordBreakpadRegistration(false); 137 metrics->RecordBreakpadRegistration(false);
145 #endif 138 #endif
146 metrics->RecordBreakpadHasDebugger(base::debug::BeingDebugged()); 139 metrics->RecordBreakpadHasDebugger(base::debug::BeingDebugged());
147 } 140 }
148 141
149 void WarnAboutMinimumSystemRequirements() { 142 void WarnAboutMinimumSystemRequirements() {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 } 178 }
186 179
187 void PrepareRestartOnCrashEnviroment(const CommandLine &parsed_command_line) { 180 void PrepareRestartOnCrashEnviroment(const CommandLine &parsed_command_line) {
188 } 181 }
189 182
190 void SetBrowserX11ErrorHandlers() { 183 void SetBrowserX11ErrorHandlers() {
191 // Set up error handlers to make sure profile gets written if X server 184 // Set up error handlers to make sure profile gets written if X server
192 // goes away. 185 // goes away.
193 ui::SetX11ErrorHandlers(BrowserX11ErrorHandler, BrowserX11IOErrorHandler); 186 ui::SetX11ErrorHandlers(BrowserX11ErrorHandler, BrowserX11IOErrorHandler);
194 } 187 }
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