/external/chromium_org/chrome/browser/media_galleries/ |
media_galleries_dialog_controller_mock.h | 28 MOCK_METHOD2(DidToggleGalleryId, void(MediaGalleryPrefId pref_id,
|
media_galleries_preferences.cc | 105 MediaGalleryPrefId pref_id; local 118 if (!GetPrefId(dict, &pref_id) || 136 out_gallery_info->pref_id = pref_id; 157 base::Uint64ToString(gallery.pref_id)); 215 base::StringToUint64(string_id, &out_permission->pref_id) && 261 : pref_id(kInvalidMediaGalleryPrefId), 465 known_galleries_[gallery_info.pref_id] = gallery_info; 466 device_map_[gallery_info.device_id].insert(gallery_info.pref_id); 475 MediaGalleryPrefId pref_id, [all...] |
media_galleries_preferences.h | 42 MediaGalleryPrefId pref_id; member in struct:chrome::MediaGalleryPermission 61 MediaGalleryPrefId pref_id; member in struct:chrome::MediaGalleryPrefInfo 130 // If not empty, |pref_id| and |has_permission| are relevant 134 MediaGalleryPrefId pref_id, 192 MediaGalleryPrefId pref_id, 242 MediaGalleryPrefId pref_id,
|
media_file_system_registry.h | 49 MediaGalleryPrefId pref_id, 59 MediaGalleryPrefId pref_id; member in struct:chrome::MediaFileSystemInfo
|
media_galleries_dialog_controller.h | 98 virtual void DidToggleGalleryId(MediaGalleryPrefId pref_id, 136 MediaGalleryPrefId pref_id,
|
media_galleries_permissions_unittest.cc | 23 permission.pref_id = gallery; 119 EXPECT_EQ(test_data[i].expectation->at(permission_entry).pref_id, 120 actual[permission_entry].pref_id);
|
media_file_system_registry.cc | 65 MediaGalleryPrefId pref_id, 72 pref_id(pref_id), 310 const MediaGalleryPrefId& pref_id = *pref_id_it; local 312 galleries_info.find(pref_id)->second; 318 pref_id_map_.find(pref_id); 321 new_galleries.insert(pref_id); 338 media_device_map_references_[pref_id] = mtp_device_host; 347 pref_id, 352 new_galleries.insert(pref_id); [all...] |
media_galleries_dialog_controller_unittest.cc | 25 gallery.pref_id = 1;
|
media_galleries_dialog_controller.cc | 213 if (iter->pref_info.pref_id == gallery_id) { 253 known_galleries_.find(gallery.pref_id); 287 MediaGalleryPrefId /* pref_id */, bool /* has_permission */) { 365 dialog_->ForgetGallery(gallery.pref_info.pref_id); 378 dialog_->ForgetGallery(new_it->pref_info.pref_id);
|
media_file_system_registry_unittest.cc | 179 ASSERT_FALSE(ContainsKey(*results, file_systems[i].pref_id)); 180 (*results)[file_systems[i].pref_id] = file_systems[i]; 192 EXPECT_NE(0UL, info.pref_id); 645 MediaGalleryPrefIdSet pref_id = local 647 ASSERT_EQ(1U, pref_id.size()); 648 preferences->SetGalleryPermissionForExtension(*extension, *pref_id.begin(), [all...] |
media_galleries_preferences_unittest.cc | 54 MediaGalleryPrefId /* pref_id */, 161 EXPECT_EQ(in_expectation->second.pref_id, actual.pref_id); 180 expected_galleries_[id].pref_id = id; 318 EXPECT_EQ(kInvalidMediaGalleryPrefId, gallery_info.pref_id); [all...] |
/external/chromium_org/chrome/browser/translate/ |
translate_prefs.h | 99 bool IsValueBlacklisted(const char* pref_id, const std::string& value) const; 100 void BlacklistValue(const char* pref_id, const std::string& value); 101 void RemoveValueFromBlacklist(const char* pref_id, const std::string& value); 106 bool IsListEmpty(const char* pref_id) const; 107 bool IsDictionaryEmpty(const char* pref_id) const;
|
translate_prefs.cc | 444 bool TranslatePrefs::IsValueBlacklisted(const char* pref_id, 446 const ListValue* blacklist = prefs_->GetList(pref_id); 450 void TranslatePrefs::BlacklistValue(const char* pref_id, 453 ListPrefUpdate update(prefs_, pref_id); 463 void TranslatePrefs::RemoveValueFromBlacklist(const char* pref_id, 465 ListPrefUpdate update(prefs_, pref_id); 485 bool TranslatePrefs::IsListEmpty(const char* pref_id) const { 486 const ListValue* blacklist = prefs_->GetList(pref_id); 490 bool TranslatePrefs::IsDictionaryEmpty(const char* pref_id) const { 491 const DictionaryValue* dict = prefs_->GetDictionary(pref_id); [all...] |
/external/chromium/chrome/browser/translate/ |
translate_prefs.h | 64 bool IsValueBlacklisted(const char* pref_id, const std::string& value); 65 void BlacklistValue(const char* pref_id, const std::string& value); 66 void RemoveValueFromBlacklist(const char* pref_id, const std::string& value);
|
translate_prefs.cc | 222 bool TranslatePrefs::IsValueBlacklisted(const char* pref_id, 224 const ListValue* blacklist = prefs_->GetList(pref_id); 228 void TranslatePrefs::BlacklistValue(const char* pref_id, 231 ListPrefUpdate update(prefs_, pref_id); 242 void TranslatePrefs::RemoveValueFromBlacklist(const char* pref_id, 246 ListPrefUpdate update(prefs_, pref_id);
|
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/ |
media_galleries_private_api.h | 90 void OnStorageMonitorInit(const std::string& pref_id); 111 void OnStorageMonitorInit(const std::string& pref_id);
|
media_galleries_private_api.cc | 63 chrome::MediaGalleryPrefId pref_id; local 64 if (!base::StringToUint64(gallery_id, &pref_id)) 70 pref_id, extension, false)); 73 *gallery_pref_id = pref_id; 182 const std::string& pref_id) { 186 if (!GetGalleryFilePathAndId(pref_id, profile_, GetExtension(), 261 const std::string& pref_id) { 266 if (!GetGalleryFilePathAndId(pref_id, profile_, GetExtension(),
|
/external/chromium_org/chrome/browser/media_galleries/win/ |
mtp_device_delegate_impl_win_unittest.cc | 41 ASSERT_FALSE(ContainsKey(*results, file_systems[i].pref_id)); 42 (*results)[file_systems[i].pref_id] = file_systems[i]; 143 EXPECT_NE(0UL, info.pref_id);
|
/external/chromium_org/chrome/browser/ui/gtk/extensions/ |
media_galleries_dialog_gtk_unittest.cc | 26 gallery.pref_id = id; 183 dialog.ForgetGallery(gallery2.pref_id);
|
media_galleries_dialog_gtk.cc | 186 checkbox_map_[gallery.pref_id] = widget;
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
media_galleries_handler.cc | 109 dict->SetString("id", base::Uint64ToString(gallery.pref_id));
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
media_galleries_dialog_views.cc | 221 CheckboxMap::iterator iter = checkbox_map_.find(gallery.pref_id); 265 checkbox_map_[gallery.pref_id] = checkbox;
|
/external/chromium_org/chrome/browser/extensions/api/media_galleries/ |
media_galleries_api.cc | 180 base::Uint64ToString(filesystems[i].pref_id));
|