Commit 63a31af0 authored by aousterh@chromium.org's avatar aousterh@chromium.org

Removes unnecessary namespace qualifier in device_orientation

This is a follow-up to a previous patch (https://chromiumcodereview.appspot.com/10823318/).
The previous patch moved device_orientation to the content namespace. This patch removes
the now unnecessary qualifier of "content::" in several places.


BUG=none


Review URL: https://chromiumcodereview.appspot.com/10854185

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151907 0039d316-1c4b-4281-b951-d872f2087c98
parent 6dbf760b
...@@ -43,7 +43,7 @@ class MockProvider : public Provider { ...@@ -43,7 +43,7 @@ class MockProvider : public Provider {
virtual ~MockProvider() {} virtual ~MockProvider() {}
}; };
class DeviceOrientationBrowserTest : public content::ContentBrowserTest { class DeviceOrientationBrowserTest : public ContentBrowserTest {
public: public:
// From ContentBrowserTest. // From ContentBrowserTest.
virtual void SetUpCommandLine(CommandLine* command_line) { virtual void SetUpCommandLine(CommandLine* command_line) {
...@@ -65,9 +65,9 @@ IN_PROC_BROWSER_TEST_F(DeviceOrientationBrowserTest, BasicTest) { ...@@ -65,9 +65,9 @@ IN_PROC_BROWSER_TEST_F(DeviceOrientationBrowserTest, BasicTest) {
// The test page will register an event handler for orientation events, // The test page will register an event handler for orientation events,
// expects to get an event with kTestOrientation orientation, // expects to get an event with kTestOrientation orientation,
// then removes the event handler and navigates to #pass. // then removes the event handler and navigates to #pass.
GURL test_url = content::GetTestUrl( GURL test_url = GetTestUrl(
"device_orientation", "device_orientation_test.html"); "device_orientation", "device_orientation_test.html");
content::NavigateToURLBlockUntilNavigationsComplete(shell(), test_url, 2); NavigateToURLBlockUntilNavigationsComplete(shell(), test_url, 2);
// Check that the page got the event it expected and that the provider // Check that the page got the event it expected and that the provider
// saw requests for adding and removing an observer. // saw requests for adding and removing an observer.
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
#include "content/browser/device_orientation/provider.h" #include "content/browser/device_orientation/provider.h"
#include "content/public/browser/browser_thread.h" #include "content/public/browser/browser_thread.h"
using content::BrowserThread;
namespace content { namespace content {
MessageFilter::MessageFilter(DeviceData::Type device_data_type) MessageFilter::MessageFilter(DeviceData::Type device_data_type)
......
...@@ -17,9 +17,9 @@ class ObserverDelegate; ...@@ -17,9 +17,9 @@ class ObserverDelegate;
class Provider; class Provider;
class MessageFilter : public content::BrowserMessageFilter { class MessageFilter : public BrowserMessageFilter {
public: public:
// content::BrowserMessageFilter implementation. // BrowserMessageFilter implementation.
virtual bool OnMessageReceived(const IPC::Message& message, virtual bool OnMessageReceived(const IPC::Message& message,
bool* message_was_ok) OVERRIDE = 0; bool* message_was_ok) OVERRIDE = 0;
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
#include "content/common/device_orientation_messages.h" #include "content/common/device_orientation_messages.h"
#include "content/public/browser/browser_thread.h" #include "content/public/browser/browser_thread.h"
using content::BrowserThread;
namespace content { namespace content {
OrientationMessageFilter::OrientationMessageFilter() OrientationMessageFilter::OrientationMessageFilter()
......
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
#include "content/browser/device_orientation/data_fetcher_impl_android.h" #include "content/browser/device_orientation/data_fetcher_impl_android.h"
#endif #endif
using content::BrowserThread;
namespace content { namespace content {
Provider* Provider::GetInstance() { Provider* Provider::GetInstance() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment