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

Unified Diff: content/browser/child_process_security_policy_browsertest.cc

Issue 11273049: Revert 164120 - content/browser: Move more files into the content namespace. (Closed) Base URL: svn://svn.chromium.org/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
« no previous file with comments | « content/browser/cert_store_impl.cc ('k') | content/browser/child_process_security_policy_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_security_policy_browsertest.cc
===================================================================
--- content/browser/child_process_security_policy_browsertest.cc (revision 164121)
+++ content/browser/child_process_security_policy_browsertest.cc (working copy)
@@ -16,19 +16,17 @@
#include "content/test/content_browser_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace content {
-
class ChildProcessSecurityPolicyInProcessBrowserTest
- : public ContentBrowserTest {
+ : public content::ContentBrowserTest {
public:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() {
EXPECT_EQ(
ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size(),
0U);
ContentBrowserTest::SetUp();
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() {
EXPECT_EQ(
ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size(),
0U);
@@ -41,21 +39,19 @@
#else
IN_PROC_BROWSER_TEST_F(ChildProcessSecurityPolicyInProcessBrowserTest, NoLeak) {
#endif
- GURL url = GetTestUrl("", "simple_page.html");
+ GURL url = content::GetTestUrl("", "simple_page.html");
- NavigateToURL(shell(), url);
+ content::NavigateToURL(shell(), url);
EXPECT_EQ(
ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size(),
1U);
- WebContents* web_contents = shell()->web_contents();
+ content::WebContents* web_contents = shell()->web_contents();
base::KillProcess(web_contents->GetRenderProcessHost()->GetHandle(),
- RESULT_CODE_KILLED, true);
+ content::RESULT_CODE_KILLED, true);
web_contents->GetController().Reload(true);
EXPECT_EQ(
1U,
ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size());
}
-
-} // namespace content
Property changes on: content/browser/child_process_security_policy_browsertest.cc
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « content/browser/cert_store_impl.cc ('k') | content/browser/child_process_security_policy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698