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

Unified Diff: content/browser/web_contents/web_contents_delegate_unittest.cc

Issue 11231077: Move a bunch more code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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: content/browser/web_contents/web_contents_delegate_unittest.cc
===================================================================
--- content/browser/web_contents/web_contents_delegate_unittest.cc (revision 163514)
+++ content/browser/web_contents/web_contents_delegate_unittest.cc (working copy)
@@ -13,25 +13,24 @@
#include "content/public/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace {
+namespace content {
-class MockWebContentsDelegate : public content::WebContentsDelegate {
+class MockWebContentsDelegate : public WebContentsDelegate {
public:
virtual ~MockWebContentsDelegate() {}
};
-class WebContentsDelegateTest :
- public content::RenderViewHostImplTestHarness {
+class WebContentsDelegateTest : public RenderViewHostImplTestHarness {
public:
WebContentsDelegateTest()
: file_user_blocking_thread_(
- content::BrowserThread::FILE_USER_BLOCKING, &message_loop_),
- io_thread_(content::BrowserThread::IO, &message_loop_) {
+ BrowserThread::FILE_USER_BLOCKING, &message_loop_),
+ io_thread_(BrowserThread::IO, &message_loop_) {
}
private:
- content::TestBrowserThread file_user_blocking_thread_;
- content::TestBrowserThread io_thread_;
+ TestBrowserThread file_user_blocking_thread_;
+ TestBrowserThread io_thread_;
};
TEST_F(WebContentsDelegateTest, UnregisterInDestructor) {
@@ -80,4 +79,4 @@
contents_b.reset();
}
-} // namespace
+} // namespace content
« no previous file with comments | « content/browser/web_contents/render_view_host_manager_unittest.cc ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698