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

Unified Diff: extensions/common/extension_consumer.cc

Issue 885493007: Refactoring: de-couple Extensions from "script injection System" [render side] : 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumb script_injection_instance_id from WebViewGuest to script injection. Created 5 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: extensions/common/extension_consumer.cc
diff --git a/extensions/common/extension_consumer.cc b/extensions/common/extension_consumer.cc
new file mode 100644
index 0000000000000000000000000000000000000000..edd58efe0b22b12efde65501e0777ea636ca57d4
--- /dev/null
+++ b/extensions/common/extension_consumer.cc
@@ -0,0 +1,18 @@
+// Copyright 2015 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.
+
+#include "extensions/common/extension_consumer.h"
+
+namespace extensions {
+
+ExtensionConsumer::ExtensionConsumer(
+ Extension* extension, const HostID& host_id)
+ : Host(host_id),
+ extension_(make_scoped_refptr(extension)) {
Devlin 2015/02/04 17:01:14 nit: indentation
Xi Han 2015/02/05 16:06:20 Done.
+}
+
+ExtensionConsumer::~ExtensionConsumer() {
+}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698