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

Unified Diff: chrome/common/extensions/user_script_unittest.cc

Issue 267051: Minimize dependency of user scripts.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« base/file_path.cc ('K') | « chrome/common/extensions/user_script.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/user_script_unittest.cc
===================================================================
--- chrome/common/extensions/user_script_unittest.cc (revision 29458)
+++ chrome/common/extensions/user_script_unittest.cc (working copy)
@@ -78,16 +78,16 @@
UserScript script1;
script1.js_scripts().push_back(UserScript::File(
- ExtensionResource(FilePath(FILE_PATH_LITERAL("c:\\foo\\")),
- FilePath(FILE_PATH_LITERAL("foo.user.js"))),
+ FilePath(FILE_PATH_LITERAL("c:\\foo\\")),
+ FilePath(FILE_PATH_LITERAL("foo.user.js")),
GURL("chrome-user-script:/foo.user.js")));
script1.css_scripts().push_back(UserScript::File(
- ExtensionResource(FilePath(FILE_PATH_LITERAL("c:\\foo\\")),
- FilePath(FILE_PATH_LITERAL("foo.user.css"))),
+ FilePath(FILE_PATH_LITERAL("c:\\foo\\")),
+ FilePath(FILE_PATH_LITERAL("foo.user.css")),
GURL("chrome-user-script:/foo.user.css")));
script1.css_scripts().push_back(UserScript::File(
- ExtensionResource(FilePath(FILE_PATH_LITERAL("c:\\foo\\")),
- FilePath(FILE_PATH_LITERAL("foo2.user.css"))),
+ FilePath(FILE_PATH_LITERAL("c:\\foo\\")),
+ FilePath(FILE_PATH_LITERAL("foo2.user.css")),
GURL("chrome-user-script:/foo2.user.css")));
script1.set_run_location(UserScript::DOCUMENT_START);
« base/file_path.cc ('K') | « chrome/common/extensions/user_script.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698