/external/chromium_org/chrome/browser/ui/webui/options/ |
media_galleries_handler.h | 38 MediaGalleryPrefId pref_id) OVERRIDE; 40 MediaGalleryPrefId pref_id) OVERRIDE; 42 MediaGalleryPrefId pref_id) OVERRIDE;
|
media_galleries_handler.cc | 69 MediaGalleryPrefId /*pref_id*/) { 74 MediaGalleryPrefId /*pref_id*/) { 80 MediaGalleryPrefId /*pref_id*/) { 98 dict->SetString("id", base::Uint64ToString(gallery.pref_id));
|
/external/chromium_org/chrome/browser/media_galleries/ |
media_file_system_registry.h | 47 MediaGalleryPrefId pref_id, 57 MediaGalleryPrefId pref_id; member in struct:MediaFileSystemInfo 105 MediaGalleryPrefId pref_id) OVERRIDE; 107 MediaGalleryPrefId pref_id) OVERRIDE;
|
media_galleries_dialog_controller.h | 95 virtual void DidToggleGalleryId(MediaGalleryPrefId pref_id, 101 virtual void DidForgetGallery(MediaGalleryPrefId pref_id); 139 MediaGalleryPrefId pref_id) OVERRIDE; 142 MediaGalleryPrefId pref_id) OVERRIDE; 144 MediaGalleryPrefId pref_id) OVERRIDE; 146 MediaGalleryPrefId pref_id) OVERRIDE; 148 MediaGalleryPrefId pref_id) OVERRIDE;
|
media_galleries_preferences.h | 41 MediaGalleryPrefId pref_id; member in struct:MediaGalleryPermission 60 MediaGalleryPrefId pref_id; member in struct:MediaGalleryPrefInfo 128 // |pref_id| refers to the gallery. 131 MediaGalleryPrefId pref_id) {} 135 MediaGalleryPrefId pref_id) {} 138 MediaGalleryPrefId pref_id) {} 141 MediaGalleryPrefId pref_id) {} 144 MediaGalleryPrefId pref_id) {} 217 MediaGalleryPrefId pref_id,
|
media_galleries_dialog_controller_mock.h | 26 MOCK_METHOD2(DidToggleGalleryId, void(MediaGalleryPrefId pref_id,
|
media_galleries_preferences.cc | 129 MediaGalleryPrefId pref_id; local 142 if (!GetPrefId(dict, &pref_id) || 160 out_gallery_info->pref_id = pref_id; 181 base::Uint64ToString(gallery.pref_id)); 239 base::StringToUint64(string_id, &out_permission->pref_id) && 285 : pref_id(kInvalidMediaGalleryPrefId), 532 MediaGalleryPrefId pref_id; local 533 if (GetPrefId(*dict, &pref_id)) { 536 OnGalleryInfoUpdated(this, pref_id)); [all...] |
media_file_system_registry.cc | 188 MediaGalleryPrefId pref_id, 195 pref_id(pref_id), 304 const MediaGalleryPrefId& pref_id = *pref_id_it; local 306 galleries_info.find(pref_id)->second; 312 pref_id_map_.find(pref_id); 315 new_galleries.insert(pref_id); 332 pref_id, 337 new_galleries.insert(pref_id); 338 pref_id_map_[pref_id] = new_entry [all...] |
media_galleries_permissions_unittest.cc | 25 permission.pref_id = gallery; 131 EXPECT_EQ(test_data[i].expectation->at(permission_entry).pref_id, 132 actual[permission_entry].pref_id);
|
media_galleries_dialog_controller_unittest.cc | 23 gallery.pref_id = 1;
|
media_galleries_dialog_controller.cc | 272 MediaGalleryPrefId pref_id) { 274 preferences_->ForgetGalleryById(pref_id); 310 DCHECK(ContainsKey(known_galleries_, gallery.pref_id)); 345 MediaGalleryPrefId /* pref_id */) { 354 MediaGalleryPrefId /* pref_id */) { 362 MediaGalleryPrefId /* pref_id */) { 368 MediaGalleryPrefId /* pref_id */) { 374 MediaGalleryPrefId pref_id) { 378 pref_galleries.find(pref_id);
|
media_galleries_preferences_unittest.cc | 53 MediaGalleryPrefId pref_id) OVERRIDE { 60 MediaGalleryPrefId pref_id) OVERRIDE { 66 MediaGalleryPrefId pref_id) OVERRIDE { 72 MediaGalleryPrefId pref_id) OVERRIDE { 78 MediaGalleryPrefId pref_id) OVERRIDE { 188 EXPECT_EQ(in_expectation->second.pref_id, actual.pref_id); 207 expected_galleries_[id].pref_id = id; 350 EXPECT_EQ(kInvalidMediaGalleryPrefId, gallery_info.pref_id); [all...] |
media_file_system_registry_unittest.cc | 164 ASSERT_FALSE(ContainsKey(*results, file_systems[i].pref_id)); 165 (*results)[file_systems[i].pref_id] = file_systems[i]; 177 EXPECT_NE(0UL, info.pref_id); 654 MediaGalleryPrefIdSet pref_id = local 656 ASSERT_EQ(1U, pref_id.size()); 657 preferences->SetGalleryPermissionForExtension(*extension, *pref_id.begin(), [all...] |
/external/chromium_org/chrome/browser/translate/ |
translate_prefs.h | 120 bool IsValueBlacklisted(const char* pref_id, const std::string& value) const; 121 void BlacklistValue(const char* pref_id, const std::string& value); 122 void RemoveValueFromBlacklist(const char* pref_id, const std::string& value); 127 bool IsListEmpty(const char* pref_id) const; 128 bool IsDictionaryEmpty(const char* pref_id) const;
|
translate_prefs.cc | 497 bool TranslatePrefs::IsValueBlacklisted(const char* pref_id, 499 const ListValue* blacklist = prefs_->GetList(pref_id); 503 void TranslatePrefs::BlacklistValue(const char* pref_id, 506 ListPrefUpdate update(prefs_, pref_id); 516 void TranslatePrefs::RemoveValueFromBlacklist(const char* pref_id, 518 ListPrefUpdate update(prefs_, pref_id); 538 bool TranslatePrefs::IsListEmpty(const char* pref_id) const { 539 const ListValue* blacklist = prefs_->GetList(pref_id); 543 bool TranslatePrefs::IsDictionaryEmpty(const char* pref_id) const { 544 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 | 89 void OnPreferencesInit(const std::string& pref_id); 109 void OnPreferencesInit(const std::string& pref_id);
|
media_galleries_private_api.cc | 64 MediaGalleryPrefId pref_id; local 65 if (!base::StringToUint64(gallery_id, &pref_id)) 70 preferences->LookUpGalleryPathForExtension(pref_id, extension, false)); 73 *gallery_pref_id = pref_id; 188 const std::string& pref_id) { 191 if (!GetGalleryFilePathAndId(pref_id, 274 const std::string& pref_id) { 278 if (!GetGalleryFilePathAndId(pref_id,
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
media_galleries_dialog_views.cc | 207 CheckboxMap::iterator iter = checkbox_map_.find(gallery.pref_id); 209 gallery.pref_id != kInvalidMediaGalleryPrefId) { 226 if (gallery.pref_id != kInvalidMediaGalleryPrefId) 230 if (gallery.pref_id != kInvalidMediaGalleryPrefId) 242 if (gallery.pref_id != kInvalidMediaGalleryPrefId) 257 if (gallery.pref_id != kInvalidMediaGalleryPrefId) 258 checkbox_map_[gallery.pref_id] = checkbox;
|
/external/chromium_org/chrome/browser/media_galleries/win/ |
mtp_device_delegate_impl_win_unittest.cc | 39 ASSERT_FALSE(ContainsKey(*results, file_systems[i].pref_id)); 40 (*results)[file_systems[i].pref_id] = file_systems[i]; 141 EXPECT_NE(0UL, info.pref_id);
|
/external/chromium_org/chrome/browser/ui/gtk/extensions/ |
media_galleries_dialog_gtk.cc | 185 if (gallery.pref_id != kInvalidMediaGalleryPrefId) 186 checkbox_map_[gallery.pref_id] = widget;
|
media_galleries_dialog_gtk_unittest.cc | 24 gallery.pref_id = id;
|
/external/chromium_org/chrome/browser/extensions/api/media_galleries/ |
media_galleries_api.cc | 189 base::Uint64ToString(filesystems[i].pref_id)); 317 metadata.gallery_id = base::Uint64ToString(gallery.pref_id);
|