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

Side by Side Diff: content/browser/browser_main_loop.cc

Issue 105273014: linux_aura: Work around a bug in the KDE Oxygen theme. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « no previous file | no next file » | 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) 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 "content/browser/browser_main_loop.h" 5 #include "content/browser/browser_main_loop.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 << "http://crosbug.com/15496"; 223 << "http://crosbug.com/15496";
224 } else if (strstr(message, "Could not connect: Connection refused") && 224 } else if (strstr(message, "Could not connect: Connection refused") &&
225 strstr(log_domain, "<unknown>")) { 225 strstr(log_domain, "<unknown>")) {
226 LOG(ERROR) << "DConf settings backend could not connect to session bus: " 226 LOG(ERROR) << "DConf settings backend could not connect to session bus: "
227 << "http://crbug.com/179797"; 227 << "http://crbug.com/179797";
228 } else if (strstr(message, "XDG_RUNTIME_DIR variable not set")) { 228 } else if (strstr(message, "XDG_RUNTIME_DIR variable not set")) {
229 LOG(ERROR) << message << " (http://bugs.chromium.org/97293)"; 229 LOG(ERROR) << message << " (http://bugs.chromium.org/97293)";
230 } else if (strstr(message, "Attempting to store changes into") || 230 } else if (strstr(message, "Attempting to store changes into") ||
231 strstr(message, "Attempting to set the permissions of")) { 231 strstr(message, "Attempting to set the permissions of")) {
232 LOG(ERROR) << message << " (http://bugs.chromium.org/161366)"; 232 LOG(ERROR) << message << " (http://bugs.chromium.org/161366)";
233 } else if (strstr(message, "drawable is not a native X11 window")) {
234 LOG(ERROR) << message << " (http://bugs.chromium.org/329991)";
233 } else { 235 } else {
234 LOG(DFATAL) << log_domain << ": " << message; 236 LOG(DFATAL) << log_domain << ": " << message;
235 } 237 }
236 } 238 }
237 239
238 static void SetUpGLibLogHandler() { 240 static void SetUpGLibLogHandler() {
239 // Register GLib-handled assertions to go through our logging system. 241 // Register GLib-handled assertions to go through our logging system.
240 const char* kLogDomains[] = { NULL, "Gtk", "Gdk", "GLib", "GLib-GObject" }; 242 const char* kLogDomains[] = { NULL, "Gtk", "Gdk", "GLib", "GLib-GObject" };
241 for (size_t i = 0; i < arraysize(kLogDomains); i++) { 243 for (size_t i = 0; i < arraysize(kLogDomains); i++) {
242 g_log_set_handler(kLogDomains[i], 244 g_log_set_handler(kLogDomains[i],
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 base::TimeDelta::FromSeconds(delay_secs)); 1115 base::TimeDelta::FromSeconds(delay_secs));
1114 } 1116 }
1115 1117
1116 void BrowserMainLoop::EndStartupTracing(const base::FilePath& trace_file) { 1118 void BrowserMainLoop::EndStartupTracing(const base::FilePath& trace_file) {
1117 is_tracing_startup_ = false; 1119 is_tracing_startup_ = false;
1118 TracingController::GetInstance()->DisableRecording( 1120 TracingController::GetInstance()->DisableRecording(
1119 trace_file, TracingController::TracingFileResultCallback()); 1121 trace_file, TracingController::TracingFileResultCallback());
1120 } 1122 }
1121 1123
1122 } // namespace content 1124 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698