/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/ |
D | gallery_watch_state_tracker.h | 35 public MediaGalleriesPreferences::GalleryChangeObserver { 57 virtual void OnPermissionAdded(MediaGalleriesPreferences* pref, 61 virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, 65 virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, 77 MediaGalleriesPreferences* preferences); 105 MediaGalleriesPreferences* preferences); 111 MediaGalleriesPreferences* preferences);
|
D | gallery_watch_state_tracker.cc | 84 MediaGalleriesPreferences* preferences = in GalleryWatchStateTracker() 91 MediaGalleriesPreferences* preferences = in ~GalleryWatchStateTracker() 114 MediaGalleriesPreferences* preferences, in OnPermissionAdded() 124 MediaGalleriesPreferences* preferences, in OnPermissionRemoved() 133 void GalleryWatchStateTracker::OnGalleryRemoved(MediaGalleriesPreferences* pref, in OnGalleryRemoved() 163 MediaGalleriesPreferences* preferences) { in RemoveAllGalleryWatchersForExtension() 259 MediaGalleriesPreferences* preferences = in ReadFromStorage() 278 MediaGalleriesPreferences* preferences) { in SetupGalleryWatch() 307 MediaGalleriesPreferences* preferences) { in RemoveGalleryWatch()
|
D | media_galleries_private_api.cc | 67 MediaGalleriesPreferences* preferences = in GetGalleryFilePathAndId() 130 MediaGalleriesPreferences* preferences = in OnListenerAdded() 176 MediaGalleriesPreferences* preferences = in RunImpl() 263 MediaGalleriesPreferences* preferences = in RunImpl() 316 MediaGalleriesPreferences* preferences = in RunImpl() 354 MediaGalleriesPreferences* preferences = in RunImpl() 365 MediaGalleriesPreferences* preferences = in OnPreferencesInit()
|
/external/chromium_org/chrome/browser/media_galleries/ |
D | media_galleries_preferences.h | 122 class MediaGalleriesPreferences : public BrowserContextKeyedService, 129 virtual void OnPermissionAdded(MediaGalleriesPreferences* pref, in OnPermissionAdded() 133 virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, in OnPermissionRemoved() 137 virtual void OnGalleryAdded(MediaGalleriesPreferences* pref, in OnGalleryAdded() 140 virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, in OnGalleryRemoved() 143 virtual void OnGalleryInfoUpdated(MediaGalleriesPreferences* pref, in OnGalleryInfoUpdated() 149 explicit MediaGalleriesPreferences(Profile* profile); 150 virtual ~MediaGalleriesPreferences(); 327 base::WeakPtrFactory<MediaGalleriesPreferences> weak_factory_; 329 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesPreferences);
|
D | media_galleries_preferences.cc | 369 MediaGalleriesPreferences::GalleryChangeObserver::~GalleryChangeObserver() {} in ~GalleryChangeObserver() 371 MediaGalleriesPreferences::MediaGalleriesPreferences(Profile* profile) in MediaGalleriesPreferences() function in MediaGalleriesPreferences 379 MediaGalleriesPreferences::~MediaGalleriesPreferences() { in ~MediaGalleriesPreferences() 384 void MediaGalleriesPreferences::EnsureInitialized(base::Closure callback) { in EnsureInitialized() 413 base::Bind(&MediaGalleriesPreferences::OnStorageMonitorInit, in EnsureInitialized() 419 base::Bind(&MediaGalleriesPreferences::OnFinderDeviceID, in EnsureInitialized() 423 base::Bind(&MediaGalleriesPreferences::OnFinderDeviceID, in EnsureInitialized() 428 base::Bind(&MediaGalleriesPreferences::OnFinderDeviceID, in EnsureInitialized() 433 bool MediaGalleriesPreferences::IsInitialized() const { return initialized_; } in IsInitialized() 435 Profile* MediaGalleriesPreferences::profile() { return profile_; } in profile() [all …]
|
D | media_galleries_dialog_controller.h | 54 public MediaGalleriesPreferences::GalleryChangeObserver { 137 virtual void OnPermissionAdded(MediaGalleriesPreferences* pref, 140 virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, 143 virtual void OnGalleryAdded(MediaGalleriesPreferences* pref, 145 virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, 147 virtual void OnGalleryInfoUpdated(MediaGalleriesPreferences* pref, 196 MediaGalleriesPreferences* preferences_;
|
D | media_galleries_preferences_factory.cc | 14 MediaGalleriesPreferences* 16 return static_cast<MediaGalleriesPreferences*>( in GetForProfile() 36 return new MediaGalleriesPreferences(static_cast<Profile*>(profile)); in BuildServiceInstanceFor() 41 MediaGalleriesPreferences::RegisterProfilePrefs(prefs); in RegisterProfilePrefs()
|
D | media_file_system_registry.h | 25 class MediaGalleriesPreferences; variable 70 public MediaGalleriesPreferences::GalleryChangeObserver { 85 MediaGalleriesPreferences* GetPreferences(Profile* profile); 103 virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, 106 virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref,
|
D | media_galleries_preferences_factory.h | 12 class MediaGalleriesPreferences; variable 22 static MediaGalleriesPreferences* GetForProfile(Profile* profile);
|
D | media_galleries_preferences_unittest.cc | 40 : public MediaGalleriesPreferences::GalleryChangeObserver { 42 explicit MockGalleryChangeObserver(MediaGalleriesPreferences* pref) in MockGalleryChangeObserver() 51 virtual void OnPermissionAdded(MediaGalleriesPreferences* pref, in OnPermissionAdded() 58 virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref, in OnPermissionRemoved() 65 virtual void OnGalleryAdded(MediaGalleriesPreferences* pref, in OnGalleryAdded() 71 virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, in OnGalleryRemoved() 77 virtual void OnGalleryInfoUpdated(MediaGalleriesPreferences* pref, in OnGalleryInfoUpdated() 83 MediaGalleriesPreferences* pref_; 113 gallery_prefs_.reset(new MediaGalleriesPreferences(profile_.get())); in SetUp() 195 MediaGalleriesPreferences* gallery_prefs() { in gallery_prefs() [all …]
|
D | media_galleries_dialog_controller.cc | 343 MediaGalleriesPreferences* /* prefs */, in OnPermissionAdded() argument 352 MediaGalleriesPreferences* /* prefs */, in OnPermissionRemoved() argument 361 MediaGalleriesPreferences* /* prefs */, in OnGalleryAdded() argument 367 MediaGalleriesPreferences* /* prefs */, in OnGalleryRemoved() argument 373 MediaGalleriesPreferences* prefs, in OnGalleryInfoUpdated()
|
D | media_file_system_registry.cc | 399 MediaGalleriesPreferences* preferences = GetPreferences(profile); in GetMediaFileSystemsForExtension() 430 MediaGalleriesPreferences* MediaFileSystemRegistry::GetPreferences( in GetPreferences() 455 MediaGalleriesPreferences* preferences = GetPreferences(profile_it->first); in OnRemovableStorageDetached() 606 MediaGalleriesPreferences* prefs, in OnPermissionRemoved() 622 MediaGalleriesPreferences* prefs, in OnGalleryRemoved() 671 MediaGalleriesPreferences* preferences = GetPreferences(profile); in OnExtensionGalleriesHostEmpty()
|
D | media_file_system_registry_unittest.cc | 217 MediaGalleriesPreferences* GetMediaGalleriesPrefs(); 274 MediaGalleriesPreferences* GetPreferences(Profile* profile); 464 MediaGalleriesPreferences* ProfileState::GetMediaGalleriesPrefs() { in GetMediaGalleriesPrefs() 465 MediaGalleriesPreferences* prefs = in GetMediaGalleriesPrefs() 606 MediaGalleriesPreferences* MediaFileSystemRegistryTest::GetPreferences( in GetPreferences() 608 MediaGalleriesPreferences* prefs = registry()->GetPreferences(profile); in GetPreferences() 652 MediaGalleriesPreferences* preferences = in SetGalleryPermission() 663 MediaGalleriesPreferences* prefs = in AssertAllAutoAddedGalleries() 850 MediaGalleriesPreferences* prefs = profile_state->GetMediaGalleriesPrefs(); in TEST_F() 877 MediaGalleriesPreferences* prefs = GetPreferences(profile_state->profile()); in TEST_F()
|
D | media_galleries_permissions_unittest.cc | 65 gallery_prefs_.reset(new MediaGalleriesPreferences(profile_.get())); in Initialize() 154 scoped_ptr<MediaGalleriesPreferences> gallery_prefs_;
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | media_galleries_handler.cc | 33 MediaGalleriesPreferences* preferences = in ~MediaGalleriesHandler() 68 void MediaGalleriesHandler::OnGalleryAdded(MediaGalleriesPreferences* pref, in OnGalleryAdded() 73 void MediaGalleriesHandler::OnGalleryRemoved(MediaGalleriesPreferences* pref, in OnGalleryRemoved() 79 MediaGalleriesPreferences* pref, in OnGalleryInfoUpdated() 85 MediaGalleriesPreferences* pref) { in OnGalleriesChanged() 124 MediaGalleriesPreferences* preferences = in HandleInitializeMediaGalleries() 142 MediaGalleriesPreferences* preferences = in HandleForgetGallery() 153 MediaGalleriesPreferences* preferences = in FileSelected() 161 MediaGalleriesPreferences* preferences = in PreferencesInitialized()
|
D | media_galleries_handler.h | 22 public MediaGalleriesPreferences::GalleryChangeObserver { 37 virtual void OnGalleryAdded(MediaGalleriesPreferences* pref, 39 virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref, 41 virtual void OnGalleryInfoUpdated(MediaGalleriesPreferences* pref, 56 void OnGalleriesChanged(MediaGalleriesPreferences* pref);
|
/external/chromium_org/chrome/browser/extensions/api/media_galleries/ |
D | media_galleries_api.cc | 99 MediaGalleriesPreferences* preferences = in RunImpl() 269 MediaGalleriesPreferences* preferences = in RunImpl() 279 MediaGalleriesPreferences* prefs = registry->GetPreferences(GetProfile()); in OnPreferencesInit() 306 MediaGalleriesPreferences* prefs = registry->GetPreferences(GetProfile()); in OnGetGalleries() 345 MediaGalleriesPreferences* preferences = in RunImpl()
|
D | media_galleries_apitest.cc | 124 MediaGalleriesPreferences* preferences = GetAndInitializePreferences(); in RemoveAllGalleries() 141 MediaGalleriesPreferences* preferences = GetAndInitializePreferences(); in MakeSingleFakeGallery() 218 MediaGalleriesPreferences* GetAndInitializePreferences() { in GetAndInitializePreferences() 219 MediaGalleriesPreferences* preferences = in GetAndInitializePreferences()
|