Chromium Code Reviews| Index: content/shell/renderer/test_runner/WebPermissions.h |
| diff --git a/content/shell/renderer/test_runner/WebPermissions.h b/content/shell/renderer/test_runner/WebPermissions.h |
| index e5ab8e8c4f17aef8be4891f23f578395a387c768..f942d405a92665d732891f36dc30d3f3583ef3eb 100644 |
| --- a/content/shell/renderer/test_runner/WebPermissions.h |
| +++ b/content/shell/renderer/test_runner/WebPermissions.h |
| @@ -5,13 +5,15 @@ |
| #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBPERMISSIONS_H_ |
| #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBPERMISSIONS_H_ |
| -#include "base/basictypes.h" |
| +#include "base/macros.h" |
| #include "third_party/WebKit/public/web/WebFrame.h" |
| #include "third_party/WebKit/public/web/WebPermissionClient.h" |
| namespace WebTestRunner { |
| - |
| class WebTestDelegate; |
| +} |
| + |
| +namespace content { |
| class WebPermissions : public blink::WebPermissionClient { |
|
jochen (gone - plz use gerrit)
2014/04/28 09:22:43
the class is so small, what about just converting
|
| public: |
| @@ -37,11 +39,11 @@ public: |
| // Resets the policy to allow everything, except for running insecure content. |
| void reset(); |
| - void setDelegate(WebTestDelegate*); |
| + void setDelegate(WebTestRunner::WebTestDelegate*); |
| void setDumpCallbacks(bool); |
| private: |
| - WebTestDelegate* m_delegate; |
| + WebTestRunner::WebTestDelegate* m_delegate; |
| bool m_dumpCallbacks; |
| bool m_imagesAllowed; |
| @@ -54,6 +56,6 @@ private: |
| DISALLOW_COPY_AND_ASSIGN(WebPermissions); |
| }; |
| -} |
| +} // namespace content |
| -#endif |
| +#endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBPERMISSIONS_H_ |