diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-31 02:29:20 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-31 02:29:20 +0000 |
commit | 5e9e96aae1a78860b984124519f720163fc52a33 (patch) | |
tree | d29e8de21b25f313cf93d1c939fc1dd3083b92f4 /webkit | |
parent | 16efcd1cd7d75552d6ef14632030520d9bb3986c (diff) | |
download | chromium_src-5e9e96aae1a78860b984124519f720163fc52a33.zip chromium_src-5e9e96aae1a78860b984124519f720163fc52a33.tar.gz chromium_src-5e9e96aae1a78860b984124519f720163fc52a33.tar.bz2 |
Move MessageLoop to base namespace.
This adds a "using" to the header to avoid having to update everything at once. However, all forward declares and the locations that use the forward declares need to be updated (since they don't see the using in message_loop.h).
BUG=
Review URL: https://codereview.chromium.org/13243003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/webkitplatformsupport_impl.h | 4 | ||||
-rw-r--r-- | webkit/plugins/npapi/plugin_instance.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/webkit/glue/webkitplatformsupport_impl.h b/webkit/glue/webkitplatformsupport_impl.h index 3db2706..b757f94 100644 --- a/webkit/glue/webkitplatformsupport_impl.h +++ b/webkit/glue/webkitplatformsupport_impl.h @@ -25,7 +25,9 @@ #include "webkit/glue/webthemeengine_impl_android.h" #endif +namespace base { class MessageLoop; +} namespace webkit { class WebCompositorSupportImpl; @@ -177,7 +179,7 @@ class WEBKIT_GLUE_EXPORT WebKitPlatformSupportImpl : } static void DestroyCurrentThread(void*); - MessageLoop* main_loop_; + base::MessageLoop* main_loop_; base::OneShotTimer<WebKitPlatformSupportImpl> shared_timer_; void (*shared_timer_func_)(); double shared_timer_fire_time_; diff --git a/webkit/plugins/npapi/plugin_instance.h b/webkit/plugins/npapi/plugin_instance.h index 9e3fb32..a4e27b5 100644 --- a/webkit/plugins/npapi/plugin_instance.h +++ b/webkit/plugins/npapi/plugin_instance.h @@ -23,7 +23,9 @@ #include "ui/gfx/point.h" #include "ui/gfx/rect.h" +namespace base { class MessageLoop; +} namespace webkit { namespace npapi { @@ -304,7 +306,7 @@ class PluginInstance : public base::RefCountedThreadSafe<PluginInstance> { gfx::Rect containing_window_frame_; NPCocoaEvent* currently_handled_event_; // weak #endif - MessageLoop* message_loop_; + base::MessageLoop* message_loop_; scoped_refptr<PluginStreamUrl> plugin_data_stream_; // This flag if true indicates that the plugin data would be passed from |