Home
last modified time | relevance | path

Searched refs:id_util (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/chrome/browser/extensions/
Dshared_module_service_unittest.cc90 std::string import_id = id_util::GenerateId("id"); in TEST_F()
91 std::string extension_id = id_util::GenerateId("extension_id"); in TEST_F()
120 .SetID(id_util::GenerateId("shared_module")) in TEST_F()
125 std::string extension_id = id_util::GenerateId("extension_id"); in TEST_F()
146 std::string whitelisted_id = id_util::GenerateId("whitelisted"); in TEST_F()
147 std::string nonwhitelisted_id = id_util::GenerateId("nonwhitelisted"); in TEST_F()
163 .SetID(id_util::GenerateId("shared_module")) in TEST_F()
Dall_urls_apitest.cc44 whitelist.push_back(extensions::id_util::GenerateIdForPath(extension_dir1)); in IN_PROC_BROWSER_TEST_F()
45 whitelist.push_back(extensions::id_util::GenerateIdForPath(extension_dir2)); in IN_PROC_BROWSER_TEST_F()
Dwebstore_installer_unittest.cc25 std::string id = extensions::id_util::GenerateId("some random string"); in TEST()
Dextension_icon_manager_unittest.cc96 std::string dummy_id = extensions::id_util::GenerateId("whatever"); in GetDefaultIcon()
Dextension_install_ui_browsertest.cc227 const std::string app_id = extensions::id_util::GenerateIdForPath(app_dir); in IN_PROC_BROWSER_TEST_F()
Dactive_script_controller_unittest.cc85 const std::string kId = id_util::GenerateId("all_hosts_extension"); in AddExtension()
Dunpacked_installer.cc212 std::string id = id_util::GenerateIdForPath(extension_path_); in GetFlags()
Dextension_function_test_utils.cc140 id = extensions::id_util::GenerateId(id_input); in CreateExtension()
Dextension_creator.cc102 std::string extension_id = id_util::GenerateId(public_key); in ValidateManifest()
/external/chromium_org/extensions/browser/
Derror_map_unittest.cc40 const std::string kId = id_util::GenerateId("id"); in TEST_F()
62 const std::string kSecondId = id_util::GenerateId("id2"); in TEST_F()
92 const std::string kId = id_util::GenerateId("id"); in TEST_F()
119 const std::string kId = id_util::GenerateId("id"); in TEST_F()
Dfile_reader_unittest.cc58 std::string extension_id = id_util::GenerateId("test"); in RunBasicTest()
89 std::string extension_id = id_util::GenerateId("test"); in TEST_F()
/external/chromium_org/chrome/common/
Dpepper_permission_util_unittest.cc48 std::string whitelisted_id = id_util::GenerateId("whitelisted_extension"); in TEST()
66 std::string("chrome-extension://") + id_util::GenerateId("bad_host"); in TEST()
83 std::string whitelisted_id = id_util::GenerateId("extension_id"); in TEST()
84 std::string bad_id = id_util::GenerateId("bad_id"); in TEST()
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_extension_helper.cc85 extensions::id_util::GenerateId(name)); in UninstallExtension()
107 ->EnableExtension(extensions::id_util::GenerateId(name)); in EnableExtension()
114 ->DisableExtension(extensions::id_util::GenerateId(name), in DisableExtension()
122 ->IsExtensionEnabled(extensions::id_util::GenerateId(name)); in IsExtensionEnabled()
128 extensions::id_util::GenerateId(name), profile, true); in IncognitoEnableExtension()
134 extensions::id_util::GenerateId(name), profile, false); in IncognitoDisableExtension()
140 extensions::id_util::GenerateId(name), profile); in IsIncognitoEnabled()
385 const std::string& expected_id = extensions::id_util::GenerateId(name); in GetExtension()
Dsync_app_helper.cc177 extensions::id_util::GenerateId(name)); in GetPageOrdinalForApp()
185 extensions::id_util::GenerateId(name), page_ordinal); in SetPageOrdinalForApp()
192 extensions::id_util::GenerateId(name)); in GetAppLaunchOrdinalForApp()
200 extensions::id_util::GenerateId(name), app_launch_ordinal); in SetAppLaunchOrdinalForApp()
Dthemes_helper.cc35 return extensions::id_util::GenerateId(MakeName(index)); in GetCustomTheme()
/external/chromium_org/chrome/browser/extensions/error_console/
Derror_console_unittest.cc131 const std::string kId = id_util::GenerateId("id"); in TEST_F()
152 const std::string kId = id_util::GenerateId("id"); in TEST_F()
179 const std::string kId2 = id_util::GenerateId("id2"); in TEST_F()
205 .SetID(id_util::GenerateId("unpacked")) in TEST_F()
214 .SetID(id_util::GenerateId("packed")) in TEST_F()
/external/chromium_org/extensions/common/
Dextension_resource_unittest.cc39 std::string extension_id = id_util::GenerateId("test"); in TEST()
60 std::string extension_id = id_util::GenerateId("test"); in TEST()
146 std::string extension_id = id_util::GenerateId("test"); in TEST()
Did_util_unittest.cc10 namespace id_util { namespace
Did_util.h15 namespace id_util {
Did_util.cc34 namespace id_util { namespace
Dextension.cc139 if (id.size() != (id_util::kIdSize * 2)) in IdIsValid()
469 std::string extension_id = id_util::GenerateId(public_key_bytes); in InitExtensionID()
481 std::string extension_id = id_util::GenerateIdForPath(path); in InitExtensionID()
502 path_ = id_util::MaybeNormalizePath(path); in Extension()
/external/chromium_org/chrome/browser/extensions/updater/
Dextension_updater_unittest.cc357 std::string id = id_util::GenerateId(base::StringPrintf("extension%i", i)); in SetupPendingExtensionManagerForTest()
749 const std::string id1 = id_util::GenerateId("1"); in TestDetermineUpdates()
750 const std::string id2 = id_util::GenerateId("2"); in TestDetermineUpdates()
1787 std::string id = id_util::GenerateId("foo"); in TEST_F()
1797 id = id_util::GenerateId("foo2"); in TEST_F()
1818 id = id_util::GenerateId("foo3"); in TEST_F()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
Ddrive_file_sync_service_fake_unittest.cc91 std::string id = extensions::id_util::GenerateIdForPath( in AddTestExtension()
108 return extensions::id_util::GenerateIdForPath(path); in ExtensionNameToId()
/external/chromium_org/chrome/browser/themes/
Dbrowser_theme_pack.cc725 extensions::id_util::kIdSize); in BuildFromDataPack()
727 expected_id.substr(0, extensions::id_util::kIdSize); in BuildFromDataPack()
954 memcpy(header_->theme_id, id.c_str(), extensions::id_util::kIdSize); in BuildHeader()
/external/chromium_org/extensions/
Dextensions.gyp110 'common/id_util.cc',
111 'common/id_util.h',

12