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

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

Issue 2741103004: Add an exception in GLibLogHandler for an AtSpi warning (Closed)
Patch Set: Created 3 years, 9 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
« 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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 << "http://crbug.com/179797"; 268 << "http://crbug.com/179797";
269 } else if (strstr(message, "Attempting to store changes into") || 269 } else if (strstr(message, "Attempting to store changes into") ||
270 strstr(message, "Attempting to set the permissions of")) { 270 strstr(message, "Attempting to set the permissions of")) {
271 LOG(ERROR) << message << " (http://crbug.com/161366)"; 271 LOG(ERROR) << message << " (http://crbug.com/161366)";
272 } else if (strstr(message, "drawable is not a native X11 window")) { 272 } else if (strstr(message, "drawable is not a native X11 window")) {
273 LOG(ERROR) << message << " (http://crbug.com/329991)"; 273 LOG(ERROR) << message << " (http://crbug.com/329991)";
274 } else if (strstr(message, "Cannot do system-bus activation with no user")) { 274 } else if (strstr(message, "Cannot do system-bus activation with no user")) {
275 LOG(ERROR) << message << " (http://crbug.com/431005)"; 275 LOG(ERROR) << message << " (http://crbug.com/431005)";
276 } else if (strstr(message, "deprecated")) { 276 } else if (strstr(message, "deprecated")) {
277 LOG(ERROR) << message; 277 LOG(ERROR) << message;
278 } else if (strstr(message, "Could not obtain desktop path or name")) {
279 LOG(ERROR) << message;
278 } else { 280 } else {
279 LOG(DFATAL) << log_domain << ": " << message; 281 LOG(DFATAL) << log_domain << ": " << message;
280 } 282 }
281 } 283 }
282 284
283 static void SetUpGLibLogHandler() { 285 static void SetUpGLibLogHandler() {
284 // Register GLib-handled assertions to go through our logging system. 286 // Register GLib-handled assertions to go through our logging system.
285 const char* const kLogDomains[] = 287 const char* const kLogDomains[] =
286 { nullptr, "Gtk", "Gdk", "GLib", "GLib-GObject" }; 288 { nullptr, "Gtk", "Gdk", "GLib", "GLib-GObject" };
287 for (size_t i = 0; i < arraysize(kLogDomains); i++) { 289 for (size_t i = 0; i < arraysize(kLogDomains); i++) {
(...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after
1781 BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE), 1783 BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE),
1782 MediaInternals::GetInstance()); 1784 MediaInternals::GetInstance());
1783 } 1785 }
1784 CHECK(audio_manager_); 1786 CHECK(audio_manager_);
1785 1787
1786 audio_system_ = media::AudioSystemImpl::Create(audio_manager_.get()); 1788 audio_system_ = media::AudioSystemImpl::Create(audio_manager_.get());
1787 CHECK(audio_system_); 1789 CHECK(audio_system_);
1788 } 1790 }
1789 1791
1790 } // namespace content 1792 } // 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