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

Side by Side Diff: content/shell/renderer/test_runner/WebPermissions.cpp

Issue 259773007: test_runner: Move WebPermissions into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/shell/renderer/test_runner/WebPermissions.h" 5 #include "content/shell/renderer/test_runner/WebPermissions.h"
6 6
7 #include "content/shell/renderer/test_runner/TestCommon.h" 7 #include "content/shell/renderer/test_runner/TestCommon.h"
8 #include "content/shell/renderer/test_runner/WebTestDelegate.h" 8 #include "content/shell/renderer/test_runner/WebTestDelegate.h"
9 #include "third_party/WebKit/public/platform/WebCString.h" 9 #include "third_party/WebKit/public/platform/WebCString.h"
10 #include "third_party/WebKit/public/platform/WebURL.h" 10 #include "third_party/WebKit/public/platform/WebURL.h"
11 11
12 using namespace WebTestRunner;
jochen (gone - plz use gerrit) 2014/04/28 09:22:43 please don't
12 using namespace std; 13 using namespace std;
13 14
14 namespace WebTestRunner { 15 namespace content {
15 16
16 WebPermissions::WebPermissions() 17 WebPermissions::WebPermissions()
17 : m_delegate(0) 18 : m_delegate(0)
18 { 19 {
19 reset(); 20 reset();
20 } 21 }
21 22
22 WebPermissions::~WebPermissions() 23 WebPermissions::~WebPermissions()
23 { 24 {
24 } 25 }
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 { 104 {
104 m_dumpCallbacks = false; 105 m_dumpCallbacks = false;
105 m_imagesAllowed = true; 106 m_imagesAllowed = true;
106 m_scriptsAllowed = true; 107 m_scriptsAllowed = true;
107 m_storageAllowed = true; 108 m_storageAllowed = true;
108 m_pluginsAllowed = true; 109 m_pluginsAllowed = true;
109 m_displayingInsecureContentAllowed = false; 110 m_displayingInsecureContentAllowed = false;
110 m_runningInsecureContentAllowed = false; 111 m_runningInsecureContentAllowed = false;
111 } 112 }
112 113
113 } 114 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698