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

Unified Diff: chrome/browser/extensions/extension_error_reporter.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_error_reporter.cc
diff --git a/chrome/browser/extensions/extension_error_reporter.cc b/chrome/browser/extensions/extension_error_reporter.cc
index e5abe83451f483fe17a07ab1b936b7c2211555b8..9cbf944f30463b14b7c02969ac7cd74624febbac 100644
--- a/chrome/browser/extensions/extension_error_reporter.cc
+++ b/chrome/browser/extensions/extension_error_reporter.cc
@@ -29,7 +29,7 @@ ExtensionErrorReporter* ExtensionErrorReporter::GetInstance() {
}
ExtensionErrorReporter::ExtensionErrorReporter(bool enable_noisy_errors)
- : ui_loop_(MessageLoop::current()),
+ : ui_loop_(base::MessageLoop::current()),
enable_noisy_errors_(enable_noisy_errors) {
}
@@ -38,7 +38,7 @@ ExtensionErrorReporter::~ExtensionErrorReporter() {}
void ExtensionErrorReporter::ReportError(const string16& message,
bool be_noisy) {
// NOTE: There won't be a ui_loop_ in the unit test environment.
- if (ui_loop_ && MessageLoop::current() != ui_loop_) {
+ if (ui_loop_ && base::MessageLoop::current() != ui_loop_) {
// base::Unretained is okay since the ExtensionErrorReporter is a singleton
// that lives until the end of the process.
ui_loop_->PostTask(FROM_HERE,
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui.cc ('k') | chrome/browser/extensions/extension_function_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698