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

Unified Diff: chrome/browser/google/google_update_win.h

Issue 13243003: Move MessageLoop to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/google/google_update_win.h
diff --git a/chrome/browser/google/google_update_win.h b/chrome/browser/google/google_update_win.h
index 67105a179ea7bf22faac6aaeace21a8d7a866eb1..9b673dea0c56a536847af8a4982987ad20e03812 100644
--- a/chrome/browser/google/google_update_win.h
+++ b/chrome/browser/google/google_update_win.h
@@ -10,7 +10,10 @@
#include "base/string16.h"
#include "google_update/google_update_idl.h"
+namespace base {
class MessageLoop;
+}
+
namespace views {
class Widget;
}
@@ -108,7 +111,8 @@ class GoogleUpdate : public base::RefCountedThreadSafe<GoogleUpdate> {
// listener.
// Note, after this function completes, this object will have deleted itself.
bool ReportFailure(HRESULT hr, GoogleUpdateErrorCode error_code,
- const string16& error_message, MessageLoop* main_loop);
+ const string16& error_message,
+ base::MessageLoop* main_loop);
// The update check needs to run on another thread than the main thread, and
// therefore CheckForUpdate will delegate to this function. |main_loop| points
@@ -116,7 +120,7 @@ class GoogleUpdate : public base::RefCountedThreadSafe<GoogleUpdate> {
// |window| should point to a foreground window. This is needed to ensure that
// Vista/Windows 7 UAC prompts show up in the foreground. It may also be null.
void InitiateGoogleUpdateCheck(bool install_if_newer, HWND window,
- MessageLoop* main_loop);
+ base::MessageLoop* main_loop);
// This function reports the results of the GoogleUpdate operation to the
// listener. If results indicates an error, the |error_code| and
« no previous file with comments | « chrome/browser/extensions/extension_uninstall_dialog.h ('k') | chrome/browser/importer/firefox_importer_unittest_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698