Home
last modified time | relevance | path

Searched refs:MediaGalleriesPreferences (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/
Dgallery_watch_state_tracker.h35 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);
Dgallery_watch_state_tracker.cc84 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()
Dmedia_galleries_private_api.cc67 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/
Dmedia_galleries_preferences.h122 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);
Dmedia_galleries_preferences.cc369 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 …]
Dmedia_galleries_dialog_controller.h54 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_;
Dmedia_galleries_preferences_factory.cc14 MediaGalleriesPreferences*
16 return static_cast<MediaGalleriesPreferences*>( in GetForProfile()
36 return new MediaGalleriesPreferences(static_cast<Profile*>(profile)); in BuildServiceInstanceFor()
41 MediaGalleriesPreferences::RegisterProfilePrefs(prefs); in RegisterProfilePrefs()
Dmedia_file_system_registry.h25 class MediaGalleriesPreferences; variable
70 public MediaGalleriesPreferences::GalleryChangeObserver {
85 MediaGalleriesPreferences* GetPreferences(Profile* profile);
103 virtual void OnPermissionRemoved(MediaGalleriesPreferences* pref,
106 virtual void OnGalleryRemoved(MediaGalleriesPreferences* pref,
Dmedia_galleries_preferences_factory.h12 class MediaGalleriesPreferences; variable
22 static MediaGalleriesPreferences* GetForProfile(Profile* profile);
Dmedia_galleries_preferences_unittest.cc40 : 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 …]
Dmedia_galleries_dialog_controller.cc343 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()
Dmedia_file_system_registry.cc399 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()
Dmedia_file_system_registry_unittest.cc217 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()
Dmedia_galleries_permissions_unittest.cc65 gallery_prefs_.reset(new MediaGalleriesPreferences(profile_.get())); in Initialize()
154 scoped_ptr<MediaGalleriesPreferences> gallery_prefs_;
/external/chromium_org/chrome/browser/ui/webui/options/
Dmedia_galleries_handler.cc33 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()
Dmedia_galleries_handler.h22 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/
Dmedia_galleries_api.cc99 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()
Dmedia_galleries_apitest.cc124 MediaGalleriesPreferences* preferences = GetAndInitializePreferences(); in RemoveAllGalleries()
141 MediaGalleriesPreferences* preferences = GetAndInitializePreferences(); in MakeSingleFakeGallery()
218 MediaGalleriesPreferences* GetAndInitializePreferences() { in GetAndInitializePreferences()
219 MediaGalleriesPreferences* preferences = in GetAndInitializePreferences()