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

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

Issue 264003003: test_runner: Move everything else 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;
13 using namespace std; 12 using namespace std;
14 13
15 namespace content { 14 namespace content {
16 15
17 WebPermissions::WebPermissions() 16 WebPermissions::WebPermissions()
18 : m_delegate(0) 17 : m_delegate(0)
19 { 18 {
20 reset(); 19 reset();
21 } 20 }
22 21
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 m_dumpCallbacks = false; 104 m_dumpCallbacks = false;
106 m_imagesAllowed = true; 105 m_imagesAllowed = true;
107 m_scriptsAllowed = true; 106 m_scriptsAllowed = true;
108 m_storageAllowed = true; 107 m_storageAllowed = true;
109 m_pluginsAllowed = true; 108 m_pluginsAllowed = true;
110 m_displayingInsecureContentAllowed = false; 109 m_displayingInsecureContentAllowed = false;
111 m_runningInsecureContentAllowed = false; 110 m_runningInsecureContentAllowed = false;
112 } 111 }
113 112
114 } // namespace content 113 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/WebPermissions.h ('k') | content/shell/renderer/test_runner/WebTask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698