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 #ifndef CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES_PR
IVATE_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES_PR
IVATE_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES_PR
IVATE_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES_PR
IVATE_API_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" | 11 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
12 #include "chrome/browser/extensions/event_router.h" | 12 #include "chrome/browser/extensions/event_router.h" |
13 #include "chrome/browser/extensions/extension_function.h" | 13 #include "chrome/browser/extensions/extension_function.h" |
14 #include "chrome/browser/media_gallery/media_galleries_preferences.h" | 14 #include "chrome/browser/media_gallery/media_galleries_preferences.h" |
15 | 15 |
16 class FilePath; | |
17 class Profile; | 16 class Profile; |
18 | 17 |
19 namespace extensions { | 18 namespace extensions { |
20 | 19 |
21 class MediaGalleryExtensionNotificationObserver; | 20 class MediaGalleryExtensionNotificationObserver; |
22 class MediaGalleriesPrivateEventRouter; | 21 class MediaGalleriesPrivateEventRouter; |
23 | 22 |
24 // The profile-keyed service that manages the media galleries private extension | 23 // The profile-keyed service that manages the media galleries private extension |
25 // API. | 24 // API. |
26 class MediaGalleriesPrivateAPI : public ProfileKeyedAPI, | 25 class MediaGalleriesPrivateAPI : public ProfileKeyedAPI, |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 protected: | 95 protected: |
97 virtual ~MediaGalleriesPrivateRemoveGalleryWatchFunction(); | 96 virtual ~MediaGalleriesPrivateRemoveGalleryWatchFunction(); |
98 | 97 |
99 // SyncExtensionFunction overrides. | 98 // SyncExtensionFunction overrides. |
100 virtual bool RunImpl() OVERRIDE; | 99 virtual bool RunImpl() OVERRIDE; |
101 }; | 100 }; |
102 | 101 |
103 } // namespace extensions | 102 } // namespace extensions |
104 | 103 |
105 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES
_PRIVATE_API_H_ | 104 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_PRIVATE_MEDIA_GALLERIES
_PRIVATE_API_H_ |
OLD | NEW |