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

Unified Diff: chrome/browser/intents/web_intents_registry_unittest.cc

Issue 11741014: Move 'intents' parsing out of Extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed special_storage_policy unittest Created 7 years, 11 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: chrome/browser/intents/web_intents_registry_unittest.cc
diff --git a/chrome/browser/intents/web_intents_registry_unittest.cc b/chrome/browser/intents/web_intents_registry_unittest.cc
index 712371dbff0e1c4cee8e3db8d2850fd14f98d931..372ca7014ddb6745b94a473ae7de07fc3c40745e 100644
--- a/chrome/browser/intents/web_intents_registry_unittest.cc
+++ b/chrome/browser/intents/web_intents_registry_unittest.cc
@@ -15,7 +15,10 @@
#include "chrome/browser/intents/web_intents_registry.h"
#include "chrome/browser/webdata/web_data_service.h"
#include "chrome/common/chrome_paths.h"
+#include "chrome/common/extensions/extension_manifest_constants.h"
#include "chrome/common/extensions/extension_set.h"
+#include "chrome/common/extensions/manifest_handler.h"
+#include "chrome/common/extensions/web_intents_handler.h"
#include "content/public/test/test_browser_thread.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -97,6 +100,8 @@ class WebIntentsRegistryTest : public testing::Test {
EXPECT_CALL(extension_service_, GetExtensionById(testing::_, testing::_)).
WillRepeatedly(
testing::Invoke(this, &WebIntentsRegistryTest::GetExtensionById));
+ extensions::ManifestHandler::Register(extension_manifest_keys::kIntents,
+ new extensions::WebIntentsHandler);
}
virtual void TearDown() {
« no previous file with comments | « chrome/browser/intents/web_intents_registry.cc ('k') | chrome/browser/profiles/profile_dependency_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698