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

Unified Diff: content/shell/renderer/test_runner/WebPermissions.h

Issue 259773007: test_runner: Move WebPermissions into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
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_

Powered by Google App Engine
This is Rietveld 408576698