| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |