Home
last modified time | relevance | path

Searched refs:AddExtension (Results 1 – 25 of 129) sorted by relevance

123456

/external/chromium_org/chrome/browser/extensions/
Dblacklist_unittest.cc58 std::string AddExtension(const std::string& id) { in AddExtension() function in extensions::__anon6fd6d7da0111::BlacklistTest
59 return test_prefs_.AddExtension(id)->id(); in AddExtension()
76 std::string a = AddExtension("a"); in TEST_F()
77 std::string b = AddExtension("b"); in TEST_F()
78 std::string c = AddExtension("c"); in TEST_F()
98 std::string a = AddExtension("a"); in TEST_F()
123 std::string a = AddExtension("a"); in TEST_F()
124 std::string b = AddExtension("b"); in TEST_F()
168 std::string a = AddExtension("a"); in TEST_F()
169 std::string b = AddExtension("b"); in TEST_F()
[all …]
Dactive_script_controller_unittest.cc44 const Extension* AddExtension();
84 const Extension* ActiveScriptControllerUnitTest::AddExtension() { in AddExtension() function in extensions::ActiveScriptControllerUnitTest
150 const Extension* extension = AddExtension(); in TEST_F()
207 const Extension* extension = AddExtension(); in TEST_F()
244 const Extension* extension = AddExtension(); in TEST_F()
268 const Extension* extension = AddExtension(); in TEST_F()
305 const Extension* extension = AddExtension(); in TEST_F()
Dmenu_manager_unittest.cc86 Extension* AddExtension(const std::string& name) { in AddExtension() function in extensions::MenuManagerTest
87 scoped_refptr<Extension> extension = prefs_.AddExtension(name); in AddExtension()
109 Extension* extension = AddExtension("test"); in TEST_F()
151 Extension* extension2 = AddExtension("test2"); in TEST_F()
158 Extension* extension1 = AddExtension("1111"); in TEST_F()
159 Extension* extension2 = AddExtension("2222"); in TEST_F()
160 Extension* extension3 = AddExtension("3333"); in TEST_F()
212 Extension* extension = AddExtension("test"); in TEST_F()
277 Extension* extension = AddExtension("1111"); in TEST_F()
343 Extension* extension1 = AddExtension("1111"); in TEST_F()
[all …]
Dextension_sync_bundle.cc36 AddExtension(extension_sync_data.id()); in SetupSync()
70 AddExtension(sync_data_local.GetTag()); in CreateSyncChange()
92 AddExtension(extension_sync_data.id()); in ProcessSyncChange()
163 void ExtensionSyncBundle::AddExtension(const std::string& id) { in AddExtension() function in extensions::ExtensionSyncBundle
Dexternal_policy_loader_unittest.cc121 extensions::ExternalPolicyLoader::AddExtension( in TEST_F()
125 extensions::ExternalPolicyLoader::AddExtension( in TEST_F()
138 extensions::ExternalPolicyLoader::AddExtension( in TEST_F()
Dextension_prefs_unittest.cc157 extension = prefs_.AddExtension("test"); in Initialize()
173 extension = prefs_.AddExtension("test"); in Initialize()
393 extension = prefs_.AddExtension("test"); in Initialize()
416 extensions_.push_back(prefs_.AddExtension(name)); in Initialize()
648 extension_ = prefs_.AddExtension("on_extension_installed"); in Initialize()
670 extension_ = prefs_.AddExtension("on_extension_installed"); in Initialize()
796 extension_a_ = prefs_.AddExtension("a"); in Initialize()
797 extension_b_ = prefs_.AddExtension("b"); in Initialize()
798 extension_c_ = prefs_.AddExtension("c"); in Initialize()
876 extension_a_ = prefs_.AddExtension("a"); in Initialize()
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfile_watcher_unittest.cc39 file_watcher.AddExtension(kExtensionId); in TEST_F()
57 file_watcher.AddExtension(kExtensionFooId); in TEST_F()
58 file_watcher.AddExtension(kExtensionBarId); in TEST_F()
85 file_watcher.AddExtension(kExtensionId); in TEST_F()
86 file_watcher.AddExtension(kExtensionId); in TEST_F()
87 file_watcher.AddExtension(kExtensionId); in TEST_F()
121 file_watcher->AddExtension(kExtensionId); in TEST_F()
Dfile_tasks_unittest.cc406 extension_service_->AddExtension(foo_app.Build().get()); in TEST_F()
430 extension_service_->AddExtension(bar_app.Build().get()); in TEST_F()
504 extension_service_->AddExtension(foo_app.Build().get()); in TEST_F()
521 extension_service_->AddExtension(bar_app.Build().get()); in TEST_F()
588 extension_service_->AddExtension(foo_app.Build().get()); in TEST_F()
606 extension_service_->AddExtension(bar_app.Build().get()); in TEST_F()
695 extension_service_->AddExtension(bar_app.Build().get()); in TEST_F()
714 extension_service_->AddExtension(files_app.Build().get()); in TEST_F()
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Dtest_util_lite.cc826 message->AddExtension(unittest::repeated_int32_extension_lite , 201); in SetAllExtensions()
827 message->AddExtension(unittest::repeated_int64_extension_lite , 202); in SetAllExtensions()
828 message->AddExtension(unittest::repeated_uint32_extension_lite , 203); in SetAllExtensions()
829 message->AddExtension(unittest::repeated_uint64_extension_lite , 204); in SetAllExtensions()
830 message->AddExtension(unittest::repeated_sint32_extension_lite , 205); in SetAllExtensions()
831 message->AddExtension(unittest::repeated_sint64_extension_lite , 206); in SetAllExtensions()
832 message->AddExtension(unittest::repeated_fixed32_extension_lite , 207); in SetAllExtensions()
833 message->AddExtension(unittest::repeated_fixed64_extension_lite , 208); in SetAllExtensions()
834 message->AddExtension(unittest::repeated_sfixed32_extension_lite, 209); in SetAllExtensions()
835 message->AddExtension(unittest::repeated_sfixed64_extension_lite, 210); in SetAllExtensions()
[all …]
Dtest_util.cc998 message->AddExtension(unittest::repeated_int32_extension , 201); in SetAllExtensions()
999 message->AddExtension(unittest::repeated_int64_extension , 202); in SetAllExtensions()
1000 message->AddExtension(unittest::repeated_uint32_extension , 203); in SetAllExtensions()
1001 message->AddExtension(unittest::repeated_uint64_extension , 204); in SetAllExtensions()
1002 message->AddExtension(unittest::repeated_sint32_extension , 205); in SetAllExtensions()
1003 message->AddExtension(unittest::repeated_sint64_extension , 206); in SetAllExtensions()
1004 message->AddExtension(unittest::repeated_fixed32_extension , 207); in SetAllExtensions()
1005 message->AddExtension(unittest::repeated_fixed64_extension , 208); in SetAllExtensions()
1006 message->AddExtension(unittest::repeated_sfixed32_extension, 209); in SetAllExtensions()
1007 message->AddExtension(unittest::repeated_sfixed64_extension, 210); in SetAllExtensions()
[all …]
Dreflection_ops_unittest.cc127 message2.AddExtension(unittest::repeated_int32_extension, in TEST()
131 message.AddExtension(unittest::repeated_int32_extension, i); in TEST()
347 message.AddExtension(unittest::TestRequired::multi); in TEST()
388 message.AddExtension(unittest::TestRequired::multi); in TEST()
389 message.AddExtension(unittest::TestRequired::multi); in TEST()
Dextension_set_unittest.cc388 message.AddExtension(unittest::TestRequired::multi); in TEST()
407 message.AddExtension(unittest::repeated_string_extension)->assign("bar"); in TEST()
487 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
491 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
492 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
496 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
529 message.AddExtension(unittest::repeated_string_extension, value); in TEST()
544 message.AddExtension(unittest::repeated_foreign_message_extension)-> in TEST()
/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc802 message->AddExtension(unittest::repeated_int32_extension_lite , 201); in SetAllExtensions()
803 message->AddExtension(unittest::repeated_int64_extension_lite , 202); in SetAllExtensions()
804 message->AddExtension(unittest::repeated_uint32_extension_lite , 203); in SetAllExtensions()
805 message->AddExtension(unittest::repeated_uint64_extension_lite , 204); in SetAllExtensions()
806 message->AddExtension(unittest::repeated_sint32_extension_lite , 205); in SetAllExtensions()
807 message->AddExtension(unittest::repeated_sint64_extension_lite , 206); in SetAllExtensions()
808 message->AddExtension(unittest::repeated_fixed32_extension_lite , 207); in SetAllExtensions()
809 message->AddExtension(unittest::repeated_fixed64_extension_lite , 208); in SetAllExtensions()
810 message->AddExtension(unittest::repeated_sfixed32_extension_lite, 209); in SetAllExtensions()
811 message->AddExtension(unittest::repeated_sfixed64_extension_lite, 210); in SetAllExtensions()
[all …]
Dtest_util.cc958 message->AddExtension(unittest::repeated_int32_extension , 201); in SetAllExtensions()
959 message->AddExtension(unittest::repeated_int64_extension , 202); in SetAllExtensions()
960 message->AddExtension(unittest::repeated_uint32_extension , 203); in SetAllExtensions()
961 message->AddExtension(unittest::repeated_uint64_extension , 204); in SetAllExtensions()
962 message->AddExtension(unittest::repeated_sint32_extension , 205); in SetAllExtensions()
963 message->AddExtension(unittest::repeated_sint64_extension , 206); in SetAllExtensions()
964 message->AddExtension(unittest::repeated_fixed32_extension , 207); in SetAllExtensions()
965 message->AddExtension(unittest::repeated_fixed64_extension , 208); in SetAllExtensions()
966 message->AddExtension(unittest::repeated_sfixed32_extension, 209); in SetAllExtensions()
967 message->AddExtension(unittest::repeated_sfixed64_extension, 210); in SetAllExtensions()
[all …]
Dextension_set_unittest.cc311 message.AddExtension(unittest::TestRequired::multi); in TEST()
330 message.AddExtension(unittest::repeated_string_extension)->assign("bar"); in TEST()
410 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
414 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
415 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
419 message.AddExtension(unittest::repeated_##type##_extension, value); \ in TEST()
451 message.AddExtension(unittest::repeated_string_extension, value); in TEST()
465 message.AddExtension(unittest::repeated_foreign_message_extension)-> in TEST()
Dreflection_ops_unittest.cc127 message2.AddExtension(unittest::repeated_int32_extension, in TEST()
131 message.AddExtension(unittest::repeated_int32_extension, i); in TEST()
347 message.AddExtension(unittest::TestRequired::multi); in TEST()
388 message.AddExtension(unittest::TestRequired::multi); in TEST()
389 message.AddExtension(unittest::TestRequired::multi); in TEST()
/external/chromium_org/extensions/browser/
Dinfo_map_unittest.cc94 info_map->AddExtension(extension1.get(), base::Time(), false, false); in TEST_F()
95 info_map->AddExtension(extension2.get(), base::Time(), false, false); in TEST_F()
96 info_map->AddExtension(extension3.get(), base::Time(), false, false); in TEST_F()
120 info_map->AddExtension(extension1.get(), base::Time(), false, false); in TEST_F()
121 info_map->AddExtension(extension2.get(), base::Time(), false, false); in TEST_F()
141 info_map->AddExtension(app.get(), base::Time(), false, false); in TEST_F()
142 info_map->AddExtension(extension.get(), base::Time(), false, false); in TEST_F()
178 info_map->AddExtension(app.get(), base::Time(), false, false); in TEST_F()
Dextension_protocols_unittest.cc170 extension_info_map_->AddExtension( in TEST_F()
231 extension_info_map_->AddExtension(extension.get(), in TEST_F()
268 extension_info_map_->AddExtension(extension.get(), in TEST_F()
306 extension_info_map_->AddExtension(extension.get(), in TEST_F()
/external/chromium_org/chrome/browser/background/
Dbackground_application_list_model_unittest.cc192 service->AddExtension(ext1.get()); in TEST_F()
196 service->AddExtension(bgapp1.get()); in TEST_F()
200 service->AddExtension(ext2.get()); in TEST_F()
204 service->AddExtension(bgapp2.get()); in TEST_F()
208 service->AddExtension(ext3.get()); in TEST_F()
264 service->AddExtension(ext1.get()); in TEST_F()
268 service->AddExtension(bgapp1.get()); in TEST_F()
272 service->AddExtension(ext2.get()); in TEST_F()
276 service->AddExtension(bgapp2.get()); in TEST_F()
285 service->AddExtension(bgapp3.get()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dchrome_launcher_controller_unittest.cc391 extension_service_->AddExtension(extension1_.get()); in SetUpMultiUserScenario()
392 extension_service_->AddExtension(extension2_.get()); in SetUpMultiUserScenario()
393 extension_service_->AddExtension(extension3_.get()); in SetUpMultiUserScenario()
394 extension_service_->AddExtension(extension4_.get()); in SetUpMultiUserScenario()
395 extension_service_->AddExtension(extension5_.get()); in SetUpMultiUserScenario()
396 extension_service_->AddExtension(extension6_.get()); in SetUpMultiUserScenario()
397 extension_service_->AddExtension(extension7_.get()); in SetUpMultiUserScenario()
398 extension_service_->AddExtension(extension8_.get()); in SetUpMultiUserScenario()
955 extension_service_->AddExtension(extension3_.get()); in TEST_F()
983 extension_service_->AddExtension(extension3_.get()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/extensions/activity_log/
Dactivity_log_enabled_unittest.cc157 extension_service1->AddExtension(extension.get()); in TEST_F()
210 extension_service1->AddExtension(extension.get()); in TEST_F()
211 extension_service1->AddExtension(extension2.get()); in TEST_F()
259 extension_service->AddExtension(extension.get()); in TEST_F()
/external/chromium_org/chrome/browser/profile_resetter/
Dprofile_resetter_unittest.cc606 service_->AddExtension(ext2.get()); in TEST_F()
614 service_->AddExtension(ext3.get()); in TEST_F()
621 service_->AddExtension(ext4.get()); in TEST_F()
628 service_->AddExtension(ext5.get()); in TEST_F()
635 service_->AddExtension(ext6.get()); in TEST_F()
656 service_->AddExtension(ext2.get()); in TEST_F()
664 service_->AddExtension(ext3.get()); in TEST_F()
702 service_->AddExtension(ext2.get()); in TEST_F()
710 service_->AddExtension(ext3.get()); in TEST_F()
873 service_->AddExtension(ext.get()); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/media/
Dwebrtc_browsertest_common.cc62 .Append(reference_file).AddExtension(kYuvFileExtension); in HasYuvAndY4mFile()
72 .Append(reference_file).AddExtension(kY4mFileExtension); in HasYuvAndY4mFile()
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/
Dgallery_watch_manager.cc69 void AddExtension(const std::string& extension_id);
139 AddExtension(extension_id); in GalleryFilePathWatcher()
142 void GalleryWatchManager::GalleryFilePathWatcher::AddExtension( in AddExtension() function in extensions::GalleryWatchManager::GalleryFilePathWatcher
328 iter->second->AddExtension(extension_id); in StartGalleryWatch()
/external/chromium_org/chrome/browser/web_applications/
Dweb_app_win.cc137 AddExtension(FILE_PATH_LITERAL(".lnk")); in FindAppShortcutsByProfileAndTitle()
216 .AddExtension(installer::kLnkExt); in CreateShortcutsInPaths()
390 .AddExtension(installer::kLnkExt); in CreateShortcutInWebAppDir()
481 AddExtension(installer::kLnkExt); in CreatePlatformShortcuts()
519 AddExtension(installer::kLnkExt); in UpdatePlatformShortcuts()
617 .AddExtension(FILE_PATH_LITERAL(".ico")); in GetIconFilePath()

123456