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

Unified Diff: chrome/browser/extensions/api/streams_private/streams_private_api.cc

Issue 14694010: Consolidate manifest handler registration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: chrome/browser/extensions/api/streams_private/streams_private_api.cc
diff --git a/chrome/browser/extensions/api/streams_private/streams_private_api.cc b/chrome/browser/extensions/api/streams_private/streams_private_api.cc
index 7e296b919edebd3704b5bfbec8e2d67a4ac09308..41393f0184e518df2562d36af0b14f845193fc4b 100644
--- a/chrome/browser/extensions/api/streams_private/streams_private_api.cc
+++ b/chrome/browser/extensions/api/streams_private/streams_private_api.cc
@@ -15,7 +15,6 @@
#include "chrome/browser/extensions/extension_system.h"
#include "chrome/browser/extensions/extension_tab_util.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/common/extensions/mime_types_handler.h"
#include "content/public/browser/stream_handle.h"
namespace keys = extension_input_module_constants;
@@ -37,8 +36,6 @@ StreamsPrivateAPI* StreamsPrivateAPI::Get(Profile* profile) {
StreamsPrivateAPI::StreamsPrivateAPI(Profile* profile)
: profile_(profile),
weak_ptr_factory_(this) {
- (new MimeTypesHandlerParser)->Register();
-
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
content::Source<Profile>(profile));
}

Powered by Google App Engine
This is Rietveld 408576698