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

Side by Side Diff: chrome/browser/extensions/api/cast_devices_private/cast_devices_private_api.h

Issue 2109613005: mash: Move system tray cast code into //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forward decl Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « ash/test/tray_cast_test_api.cc ('k') | chrome/browser/ui/ash/cast_config_delegate_chromeos.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_CAST_DEVICES_PRIVATE_CAST_DEVICES_PRIVATE_ API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CAST_DEVICES_PRIVATE_CAST_DEVICES_PRIVATE_ API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_CAST_DEVICES_PRIVATE_CAST_DEVICES_PRIVATE_ API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_CAST_DEVICES_PRIVATE_CAST_DEVICES_PRIVATE_ API_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/cast_config_delegate.h" 10 #include "ash/common/cast_config_delegate.h"
11 #include "base/callback_list.h" 11 #include "base/callback_list.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/observer_list.h" 13 #include "base/observer_list.h"
14 #include "extensions/browser/browser_context_keyed_api_factory.h" 14 #include "extensions/browser/browser_context_keyed_api_factory.h"
15 #include "extensions/browser/extension_function.h" 15 #include "extensions/browser/extension_function.h"
16 16
17 namespace extensions { 17 namespace extensions {
18 18
19 class CastDeviceUpdateListeners : public BrowserContextKeyedAPI { 19 class CastDeviceUpdateListeners : public BrowserContextKeyedAPI {
20 public: 20 public:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 ResponseAction Run() override; 63 ResponseAction Run() override;
64 64
65 DECLARE_EXTENSION_FUNCTION("cast.devicesPrivate.updateDevices", 65 DECLARE_EXTENSION_FUNCTION("cast.devicesPrivate.updateDevices",
66 CASTDEVICESPRIVATE_UPDATEDEVICES); 66 CASTDEVICESPRIVATE_UPDATEDEVICES);
67 DISALLOW_COPY_AND_ASSIGN(CastDevicesPrivateUpdateDevicesFunction); 67 DISALLOW_COPY_AND_ASSIGN(CastDevicesPrivateUpdateDevicesFunction);
68 }; 68 };
69 69
70 } // namespace extensions 70 } // namespace extensions
71 71
72 #endif // CHROME_BROWSER_EXTENSIONS_API_CAST_DEVICES_PRIVATE_CAST_DEVICES_PRIVA TE_API_H_ 72 #endif // CHROME_BROWSER_EXTENSIONS_API_CAST_DEVICES_PRIVATE_CAST_DEVICES_PRIVA TE_API_H_
OLDNEW
« no previous file with comments | « ash/test/tray_cast_test_api.cc ('k') | chrome/browser/ui/ash/cast_config_delegate_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698