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

Unified Diff: extensions/renderer/injection_host.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: Created 5 years, 10 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
« no previous file with comments | « extensions/renderer/injection_host.h ('k') | extensions/renderer/programmatic_script_injector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/injection_host.cc
diff --git a/media/base/media_permission.cc b/extensions/renderer/injection_host.cc
similarity index 52%
copy from media/base/media_permission.cc
copy to extensions/renderer/injection_host.cc
index 739e4454ae76be702c1ddde201fc9680575d9c9e..30e8679de88b42f75d0f92a7cd9cc6fe165750e2 100644
--- a/media/base/media_permission.cc
+++ b/extensions/renderer/injection_host.cc
@@ -2,14 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "media/base/media_permission.h"
+#include "extensions/renderer/injection_host.h"
-namespace media {
-
-MediaPermission::MediaPermission() {
+InjectionHost::InjectionHost(const HostID& host_id) :
+ id_(host_id) {
}
-MediaPermission::~MediaPermission() {
+InjectionHost::~InjectionHost() {
}
-
-} // namespace media
« no previous file with comments | « extensions/renderer/injection_host.h ('k') | extensions/renderer/programmatic_script_injector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698