Home
last modified time | relevance | path

Searched refs:js_scripts (Results 1 – 17 of 17) sorted by relevance

/external/chromium/chrome/common/extensions/
Duser_script_unittest.cc126 script1.js_scripts().push_back(UserScript::File( in TEST()
150 EXPECT_EQ(1U, script2.js_scripts().size()); in TEST()
151 EXPECT_EQ(script1.js_scripts()[0].url(), script2.js_scripts()[0].url()); in TEST()
154 for (size_t i = 0; i < script2.js_scripts().size(); ++i) { in TEST()
Duser_script.h157 FileList& js_scripts() { return js_scripts_; } in js_scripts() function
158 const FileList& js_scripts() const { return js_scripts_; } in js_scripts() function
Dextension_file_util.cc184 for (size_t j = 0; j < script.js_scripts().size(); j++) { in ValidateExtension()
185 const UserScript::File& js_script = script.js_scripts()[j]; in ValidateExtension()
Dextension.cc845 result->js_scripts().push_back(UserScript::File( in LoadUserScriptHelper()
/external/chromium_org/extensions/common/
Duser_script_unittest.cc172 script1.js_scripts().push_back(UserScript::File( in TEST()
198 EXPECT_EQ(1U, script2.js_scripts().size()); in TEST()
199 EXPECT_EQ(script1.js_scripts()[0].url(), script2.js_scripts()[0].url()); in TEST()
202 for (size_t i = 0; i < script2.js_scripts().size(); ++i) { in TEST()
Duser_script.h163 FileList& js_scripts() { return js_scripts_; } in js_scripts() function
164 const FileList& js_scripts() const { return js_scripts_; } in js_scripts() function
/external/chromium/chrome/browser/extensions/
Duser_script_master.cc207 user_script.js_scripts().push_back(UserScript::File( in LoadScriptsFromDirectory()
209 UserScript::File& script_file = user_script.js_scripts().back(); in LoadScriptsFromDirectory()
221 for (size_t k = 0; k < script.js_scripts().size(); ++k) { in LoadLoneScripts()
222 UserScript::File& script_file = script.js_scripts()[k]; in LoadLoneScripts()
246 for (size_t j = 0; j < script.js_scripts().size(); j++) { in Serialize()
247 base::StringPiece contents = script.js_scripts()[j].GetContent(); in Serialize()
Dconvert_user_script_unittest.cc49 extension->path().Append(script.js_scripts()[0].relative_path()))); in TEST()
88 extension->path().Append(script.js_scripts()[0].relative_path()))); in TEST()
Duser_script_master_unittest.cc231 script_list[0].js_scripts()[0].GetContent().as_string()); in TEST_F()
252 EXPECT_EQ(content, script_list[0].js_scripts()[0].GetContent().as_string()); in TEST_F()
Dextension_service_unittest.cc955 EXPECT_EQ(2u, scripts[0].js_scripts().size()); in TEST_F()
957 scripts[0].js_scripts()[0].extension_root(), in TEST_F()
958 scripts[0].js_scripts()[0].relative_path()); in TEST_F()
963 scripts[0].js_scripts()[1].extension_root(), in TEST_F()
964 scripts[0].js_scripts()[1].relative_path()); in TEST_F()
972 scripts[1].js_scripts()[0].extension_root(), in TEST_F()
973 scripts[1].js_scripts()[0].relative_path()); in TEST_F()
/external/chromium_org/chrome/browser/extensions/
Duser_script_master_unittest.cc241 user_script.js_scripts().push_back(UserScript::File( in TEST_F()
254 user_scripts[0].js_scripts()[0].GetContent().as_string()); in TEST_F()
264 user_script.js_scripts().push_back(UserScript::File( in TEST_F()
276 EXPECT_EQ(content, user_scripts[0].js_scripts()[0].GetContent().as_string()); in TEST_F()
Duser_script_master.cc240 for (size_t k = 0; k < script.js_scripts().size(); ++k) { in LoadUserScripts()
241 UserScript::File& script_file = script.js_scripts()[k]; in LoadUserScripts()
277 for (size_t j = 0; j < script.js_scripts().size(); j++) { in Serialize()
278 base::StringPiece contents = script.js_scripts()[j].GetContent(); in Serialize()
Dconvert_user_script_unittest.cc83 extension->path().Append(script.js_scripts()[0].relative_path()))); in TEST_F()
132 extension->path().Append(script.js_scripts()[0].relative_path()))); in TEST_F()
Dextension_service_unittest.cc1353 EXPECT_EQ(2u, scripts[0].js_scripts().size()); in TEST_F()
1355 scripts[0].js_scripts()[0].extension_root(), in TEST_F()
1356 scripts[0].js_scripts()[0].relative_path()); in TEST_F()
1361 scripts[0].js_scripts()[1].extension_root(), in TEST_F()
1362 scripts[0].js_scripts()[1].relative_path()); in TEST_F()
1371 scripts[1].js_scripts()[0].extension_root(), in TEST_F()
1372 scripts[1].js_scripts()[0].relative_path()); in TEST_F()
/external/chromium_org/chrome/renderer/extensions/
Duser_script_slave.cc183 for (size_t j = 0; j < script->js_scripts().size(); ++j) { in UpdateScripts()
187 script->js_scripts()[j].set_external_content( in UpdateScripts()
307 num_scripts += script->js_scripts().size(); in InjectScripts()
308 for (size_t j = 0; j < script->js_scripts().size(); ++j) { in InjectScripts()
309 UserScript::File &file = script->js_scripts()[j]; in InjectScripts()
/external/chromium_org/chrome/common/extensions/manifest_handlers/
Dcontent_scripts_handler.cc265 result->js_scripts().push_back(UserScript::File( in LoadUserScriptFromDictionary()
444 for (size_t j = 0; j < script.js_scripts().size(); j++) { in Validate()
445 const UserScript::File& js_script = script.js_scripts()[j]; in Validate()
/external/chromium_org/chrome/browser/chromeos/accessibility/
Daccessibility_manager.cc187 for (size_t j = 0; j < script.js_scripts().size(); ++j) { in LoadChromeVoxExtension()
188 const extensions::UserScript::File &file = script.js_scripts()[j]; in LoadChromeVoxExtension()