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

Unified Diff: content/shell/common/layout_test/layout_test_content_client.h

Issue 1777503003: More strict restrictions for content -> content/shell dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary namespace-qualification. Created 4 years, 9 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/common/layout_test/layout_test_content_client.h
diff --git a/content/shell/common/layout_test/layout_test_content_client.h b/content/shell/common/layout_test/layout_test_content_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..2f2b4b9e70be21cc3a4c8ff6ac6de0faf0205828
--- /dev/null
+++ b/content/shell/common/layout_test/layout_test_content_client.h
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_SHELL_COMMON_LAYOUT_TEST_LAYOUT_TEST_CONTENT_CLIENT_H_
+#define CONTENT_SHELL_COMMON_LAYOUT_TEST_LAYOUT_TEST_CONTENT_CLIENT_H_
+
+#include "base/macros.h"
+#include "content/shell/common/shell_content_client.h"
+
+namespace content {
+
+class LayoutTestContentClient : public ShellContentClient {
+ public:
+ LayoutTestContentClient() {}
+ bool CanSendWhileSwappedOut(const IPC::Message* message) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(LayoutTestContentClient);
+};
+
+} // namespace content
+
+#endif // CONTENT_SHELL_COMMON_LAYOUT_TEST_LAYOUT_TEST_CONTENT_CLIENT_H_
« no previous file with comments | « content/shell/app/shell_main_delegate.cc ('k') | content/shell/common/layout_test/layout_test_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698