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

Unified Diff: extensions/browser/extensions_test.cc

Issue 2697463002: Convert utility process extension Unpacker IPC to mojo (Closed)
Patch Set: Take #4, declare the IPC enum traits in the message file, try build fix. 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/browser/extensions_test.cc
diff --git a/extensions/browser/extensions_test.cc b/extensions/browser/extensions_test.cc
index 4d1ccf3053bf23ff5fa415545e8e859c45bd9e89..f9f88a107396febf551987a681d23aa9ca11ae91 100644
--- a/extensions/browser/extensions_test.cc
+++ b/extensions/browser/extensions_test.cc
@@ -9,6 +9,7 @@
#include "content/public/common/content_client.h"
#include "content/public/test/test_browser_context.h"
#include "extensions/browser/test_extensions_browser_client.h"
+#include "extensions/test/test_content_browser_client.h"
#include "extensions/test/test_content_utility_client.h"
namespace extensions {
@@ -22,10 +23,12 @@ namespace extensions {
// }
// };
ExtensionsTest::ExtensionsTest()
- : content_utility_client_(new TestContentUtilityClient),
+ : content_browser_client_(new TestContentBrowserClient),
+ content_utility_client_(new TestContentUtilityClient),
browser_context_(new content::TestBrowserContext),
extensions_browser_client_(
new TestExtensionsBrowserClient(browser_context_.get())) {
+ content::SetBrowserClientForTesting(content_browser_client_.get());
content::SetUtilityClientForTesting(content_utility_client_.get());
ExtensionsBrowserClient::Set(extensions_browser_client_.get());
extensions_browser_client_->set_extension_system_factory(

Powered by Google App Engine
This is Rietveld 408576698