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_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_API_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_API_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_API_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_API_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" | 13 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
14 #include "chrome/browser/extensions/extension_function.h" | 14 #include "extensions/browser/extension_function.h" |
15 | 15 |
16 class Profile; | 16 class Profile; |
17 | 17 |
18 namespace extensions { | 18 namespace extensions { |
19 class MediaPlayerEventRouter; | 19 class MediaPlayerEventRouter; |
20 | 20 |
21 class MediaPlayerAPI : public ProfileKeyedAPI { | 21 class MediaPlayerAPI : public ProfileKeyedAPI { |
22 public: | 22 public: |
23 explicit MediaPlayerAPI(Profile* profile); | 23 explicit MediaPlayerAPI(Profile* profile); |
24 virtual ~MediaPlayerAPI(); | 24 virtual ~MediaPlayerAPI(); |
(...skipping 19 matching lines...) Expand all Loading... |
44 static const bool kServiceIsNULLWhileTesting = true; | 44 static const bool kServiceIsNULLWhileTesting = true; |
45 | 45 |
46 scoped_ptr<MediaPlayerEventRouter> media_player_event_router_; | 46 scoped_ptr<MediaPlayerEventRouter> media_player_event_router_; |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(MediaPlayerAPI); | 48 DISALLOW_COPY_AND_ASSIGN(MediaPlayerAPI); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace extensions | 51 } // namespace extensions |
52 | 52 |
53 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_API_H_ | 53 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_API_H_ |
OLD | NEW |