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

Unified Diff: extensions/common/user_script_unittest.cc

Issue 822453002: Introduce HostID and de-couple Extensions from "script injection System" [browser side] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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
« no previous file with comments | « extensions/common/user_script.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/user_script_unittest.cc
diff --git a/extensions/common/user_script_unittest.cc b/extensions/common/user_script_unittest.cc
index 589b55506f3e7d01f5442cc831b5e4d6ec90ff5c..4a964f77ef7daedbd41cd52cb7078a63dd18c1f5 100644
--- a/extensions/common/user_script_unittest.cc
+++ b/extensions/common/user_script_unittest.cc
@@ -193,7 +193,8 @@ TEST(ExtensionUserScriptTest, Pickle) {
const int64 kId = 12;
script1.set_id(kId);
const std::string kExtensionId = "foo";
- script1.set_extension_id(kExtensionId);
+ HostID id(HostID::EXTENSIONS, kExtensionId);
+ script1.set_host_id(id);
Pickle pickle;
script1.Pickle(&pickle);
« no previous file with comments | « extensions/common/user_script.cc ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698