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

Side by Side Diff: chrome/browser/extensions/api/media_galleries/media_galleries_api.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 unified diff | Download patch
OLDNEW
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 // Defines the Chrome Extensions Media Galleries API functions for accessing 5 // Defines the Chrome Extensions Media Galleries API functions for accessing
6 // user's media files, as specified in the extension API IDL. 6 // user's media files, as specified in the extension API IDL.
7 7
8 #ifndef CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_MEDIA_GALLERIES_API_H_ 8 #ifndef CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_MEDIA_GALLERIES_API_H_
9 #define CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_MEDIA_GALLERIES_API_H_ 9 #define CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_MEDIA_GALLERIES_API_H_
10 10
(...skipping 13 matching lines...) Expand all
24 #include "chrome/common/media_galleries/metadata_types.h" 24 #include "chrome/common/media_galleries/metadata_types.h"
25 #include "components/storage_monitor/media_storage_util.h" 25 #include "components/storage_monitor/media_storage_util.h"
26 #include "extensions/browser/browser_context_keyed_api_factory.h" 26 #include "extensions/browser/browser_context_keyed_api_factory.h"
27 #include "extensions/browser/event_router.h" 27 #include "extensions/browser/event_router.h"
28 #include "extensions/browser/extension_event_histogram_value.h" 28 #include "extensions/browser/extension_event_histogram_value.h"
29 29
30 namespace MediaGalleries = extensions::api::media_galleries; 30 namespace MediaGalleries = extensions::api::media_galleries;
31 31
32 namespace content { 32 namespace content {
33 class BlobHandle; 33 class BlobHandle;
34 class WebContents;
35 }
36
37 namespace metadata {
38 class SafeMediaMetadataParser;
39 } 34 }
40 35
41 namespace extensions { 36 namespace extensions {
42 37
43 class Extension;
44
45 // The profile-keyed service that manages the media galleries extension API. 38 // The profile-keyed service that manages the media galleries extension API.
46 // Created at the same time as the Profile. This is also the event router. 39 // Created at the same time as the Profile. This is also the event router.
47 class MediaGalleriesEventRouter : public BrowserContextKeyedAPI, 40 class MediaGalleriesEventRouter : public BrowserContextKeyedAPI,
48 public GalleryWatchManagerObserver, 41 public GalleryWatchManagerObserver,
49 public extensions::EventRouter::Observer { 42 public extensions::EventRouter::Observer {
50 public: 43 public:
51 // KeyedService implementation. 44 // KeyedService implementation.
52 void Shutdown() override; 45 void Shutdown() override;
53 46
54 // BrowserContextKeyedAPI implementation. 47 // BrowserContextKeyedAPI implementation.
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 ~MediaGalleriesRemoveGalleryWatchFunction() override; 215 ~MediaGalleriesRemoveGalleryWatchFunction() override;
223 bool RunAsync() override; 216 bool RunAsync() override;
224 217
225 private: 218 private:
226 void OnPreferencesInit(const std::string& pref_id); 219 void OnPreferencesInit(const std::string& pref_id);
227 }; 220 };
228 221
229 } // namespace extensions 222 } // namespace extensions
230 223
231 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_MEDIA_GALLERIES_API_H_ 224 #endif // CHROME_BROWSER_EXTENSIONS_API_MEDIA_GALLERIES_MEDIA_GALLERIES_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/mdns/dns_sd_registry.h ('k') | chrome/browser/extensions/api/messaging/message_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698