Home
last modified time | relevance | path

Searched refs:GenerateId (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium_org/apps/
Dsaved_files_service_unittest.cc32 std::string GenerateId(int i) { in GenerateId() function
65 std::string id_string = GenerateId(id); in CheckEntrySequenceNumber()
92 service_->RegisterFileEntry(extension_->id(), GenerateId(1), path_, true); in TEST_F()
93 service_->RegisterFileEntry(extension_->id(), GenerateId(2), path_, true); in TEST_F()
94 service_->RegisterFileEntry(extension_->id(), GenerateId(3), path_, true); in TEST_F()
102 service_->EnqueueFileEntry(extension_->id(), GenerateId(1)); in TEST_F()
108 service_->EnqueueFileEntry(extension_->id(), GenerateId(1)); in TEST_F()
114 service_->EnqueueFileEntry(extension_->id(), GenerateId(2)); in TEST_F()
120 service_->EnqueueFileEntry(extension_->id(), GenerateId(2)); in TEST_F()
125 service_->EnqueueFileEntry(extension_->id(), GenerateId(1)); in TEST_F()
[all …]
/external/chromium_org/extensions/common/
Did_util_unittest.cc29 std::string extension_id = GenerateId( in TEST()
34 EXPECT_EQ("jpignaibiiemhngfjkcpokkamffknabf", GenerateId("test")); in TEST()
36 EXPECT_EQ("ncocknphbhhlhkikpnnlmbcnbgdempcd", GenerateId("_")); in TEST()
39 GenerateId( in TEST()
Did_util.cc39 std::string GenerateId(const std::string& input) { in GenerateId() function
53 return GenerateId(path_bytes); in GenerateIdForPath()
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.h22 std::string GenerateId(const std::string& input);
/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()
Dcomponent_loader.cc93 std::string GenerateId(const base::DictionaryValue* manifest, in GenerateId() function
99 std::string id = id_util::GenerateId(id_input); in GenerateId()
126 extension_id = GenerateId(manifest, root_directory); in ComponentExtensionInfo()
224 Remove(GenerateId(manifest.get(), absolute_path)); in AddOrReplace()
267 Remove(GenerateId(it->manifest, root_directory)); in Remove()
Dwebstore_installer_unittest.cc25 std::string id = extensions::id_util::GenerateId("some random string"); in TEST()
/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/sync/test/engine/
Dmock_non_blocking_type_processor_core.cc86 data.id = GenerateId(tag_hash); in UpdateFromServer()
111 data.id = GenerateId(tag_hash); in TombstoneFromServer()
137 response_data.id = GenerateId(client_tag_hash); in SuccessfulCommitResponse()
153 std::string MockNonBlockingTypeProcessorCore::GenerateId( in GenerateId() function in syncer::MockNonBlockingTypeProcessorCore
Dsingle_type_mock_server.cc47 entity.set_id_string(GenerateId(tag_hash)); in UpdateFromServer()
75 entity.set_id_string(GenerateId(tag_hash)); in TombstoneFromServer()
117 entryresponse->set_id_string(GenerateId(tag_hash)); in DoSuccessfulCommit()
158 std::string SingleTypeMockServer::GenerateId(const std::string& tag_hash) { in GenerateId() function in syncer::SingleTypeMockServer
Dmock_non_blocking_type_processor_core.h64 static std::string GenerateId(const std::string& tag_hash);
/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/content/common/
Dhost_shared_bitmap_manager_unittest.cc24 cc::SharedBitmapId id = cc::SharedBitmap::GenerateId(); in TEST_F()
45 cc::SharedBitmapId id2 = cc::SharedBitmap::GenerateId(); in TEST_F()
80 cc::SharedBitmapId id = cc::SharedBitmap::GenerateId(); in TEST_F()
104 cc::SharedBitmapId id = cc::SharedBitmap::GenerateId(); in TEST_F()
138 cc::SharedBitmapId id = cc::SharedBitmap::GenerateId(); in TEST_F()
/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/cc/test/
Dtest_shared_bitmap_manager.cc26 SharedBitmapId id = SharedBitmap::GenerateId(); in AllocateSharedBitmap()
45 SharedBitmapId id = SharedBitmap::GenerateId(); in GetBitmapForSharedMemory()
/external/chromium_org/content/child/
Dchild_shared_bitmap_manager.cc48 cc::SharedBitmapId id = cc::SharedBitmap::GenerateId(); in AllocateSharedBitmap()
76 cc::SharedBitmapId id = cc::SharedBitmap::GenerateId(); in GetBitmapForSharedMemory()
/external/chromium_org/mojo/aura/
Dcontext_factory_mojo.cc59 cc::SharedBitmapId id = cc::SharedBitmap::GenerateId(); in AllocateSharedBitmap()
80 cc::SharedBitmapId id = cc::SharedBitmap::GenerateId(); in GetBitmapForSharedMemory()
/external/chromium_org/chrome/test/chromedriver/
Dutil.h19 std::string GenerateId();
/external/chromium_org/cc/resources/
Dshared_bitmap.h57 static SharedBitmapId GenerateId();
/external/chromium_org/tools/grit/grit/
Dtclib.py129 self.id = self.GenerateId()
133 def GenerateId(self): member in BaseMessage

123