| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Manages events for the private Chrome extensions media galleries API. This | 5 // Manages events for the private Chrome extensions media galleries API. This |
| 6 // is temporary and will be moved to a permanent, public place in the near | 6 // is temporary and will be moved to a permanent, public place in the near |
| 7 // future. This class object lives on the UI thread. | 7 // future. This class object lives on the UI thread. |
| 8 | 8 |
| 9 #ifndef CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES_PR
IVATE_EVENT_ROUTER_H_ | 9 #ifndef CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES_PR
IVATE_EVENT_ROUTER_H_ |
| 10 #define CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES_PR
IVATE_EVENT_ROUTER_H_ | 10 #define CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES_PR
IVATE_EVENT_ROUTER_H_ |
| 11 | 11 |
| 12 #include <set> | 12 #include <set> |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 16 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
| 17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "chrome/browser/media_gallery/media_galleries_preferences.h" | 19 #include "chrome/browser/media_gallery/media_galleries_preferences.h" |
| 20 #include "chrome/browser/system_monitor/removable_storage_observer.h" | 20 #include "chrome/browser/system_monitor/removable_storage_observer.h" |
| 21 | 21 |
| 22 class FilePath; | |
| 23 class Profile; | 22 class Profile; |
| 24 | 23 |
| 25 namespace base { | 24 namespace base { |
| 26 class ListValue; | 25 class ListValue; |
| 27 } | 26 } |
| 28 | 27 |
| 29 namespace extensions { | 28 namespace extensions { |
| 30 | 29 |
| 31 class MediaGalleriesPrivateEventRouter | 30 class MediaGalleriesPrivateEventRouter |
| 32 : public chrome::RemovableStorageObserver, | 31 : public chrome::RemovableStorageObserver, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 51 | 50 |
| 52 // Current profile. | 51 // Current profile. |
| 53 Profile* profile_; | 52 Profile* profile_; |
| 54 | 53 |
| 55 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesPrivateEventRouter); | 54 DISALLOW_COPY_AND_ASSIGN(MediaGalleriesPrivateEventRouter); |
| 56 }; | 55 }; |
| 57 | 56 |
| 58 } // namespace extensions | 57 } // namespace extensions |
| 59 | 58 |
| 60 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES
_PRIVATE_EVENT_ROUTER_H_ | 59 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES
_PRIVATE_EVENT_ROUTER_H_ |
| OLD | NEW |