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

Unified Diff: extensions/test/test_content_browser_client.h

Issue 2697463002: Convert utility process extension Unpacker IPC to mojo (Closed)
Patch Set: Set the IPC enum traits limit to extensions::Manifest::NUM_LOCATIONS - 1. Created 3 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: extensions/test/test_content_browser_client.h
diff --git a/extensions/test/test_content_browser_client.h b/extensions/test/test_content_browser_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..9ae3f01146b5f993f08f6adcb0a65d965937a70a
--- /dev/null
+++ b/extensions/test/test_content_browser_client.h
@@ -0,0 +1,31 @@
+// Copyright 2017 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 EXTENSIONS_TEST_TEST_CONTENT_BROWSER_CLIENT_H_
+#define EXTENSIONS_TEST_TEST_CONTENT_BROWSER_CLIENT_H_
+
+#include <memory>
+
+#include "base/strings/string_piece.h"
+#include "content/public/browser/content_browser_client.h"
+
+namespace base {
+class Value;
+}
+
+namespace extensions {
+
+class TestContentBrowserClient : public content::ContentBrowserClient {
+ public:
+ TestContentBrowserClient();
+ ~TestContentBrowserClient() override;
+
+ // content::ContentBrowserClient:
+ std::unique_ptr<base::Value> GetServiceManifestOverlay(
+ base::StringPiece name) override;
+};
+
+} // namespace extensions
+
+#endif // EXTENSIONS_TEST_TEST_CONTENT_BROWSER_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698