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

Unified Diff: extensions/common/user_script_unittest.cc

Issue 899983002: Revert of 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: rebase 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/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 4a964f77ef7daedbd41cd52cb7078a63dd18c1f5..589b55506f3e7d01f5442cc831b5e4d6ec90ff5c 100644
--- a/extensions/common/user_script_unittest.cc
+++ b/extensions/common/user_script_unittest.cc
@@ -193,8 +193,7 @@ TEST(ExtensionUserScriptTest, Pickle) {
const int64 kId = 12;
script1.set_id(kId);
const std::string kExtensionId = "foo";
- HostID id(HostID::EXTENSIONS, kExtensionId);
- script1.set_host_id(id);
+ script1.set_extension_id(kExtensionId);
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