Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc

Issue 282153002: Media Galleries: Enable chrome.mediaGalleriesPrivate.onGalleryChanged and friends on Linux. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc
===================================================================
--- chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc (revision 270036)
+++ chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc (working copy)
@@ -92,9 +92,8 @@
GalleryWatchStateTracker* GalleryWatchStateTracker::GetForProfile(
Profile* profile) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
-#if defined(OS_WIN)
- // Gallery watch operation is supported only on windows.
- // Please refer to crbug.com/144491 for more details.
+#if defined(OS_WIN) || defined(OS_LINUX)
+ // Gallery watch operation is not supported on Mac: crbug.com/144491.
DCHECK(profile);
MediaGalleriesPrivateAPI* private_api =
MediaGalleriesPrivateAPI::Get(profile);
« no previous file with comments | « no previous file | chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698