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

Side by Side Diff: device/devices_app/public/cpp/devices_app_factory.h

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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 | « device/devices_app/main.cc ('k') | device/devices_app/public/cpp/devices_app_factory.cc » ('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 DEVICE_DEVICES_APP_PUBLIC_CPP_DEVICES_APP_FACTORY_H_ 5 #ifndef DEVICE_DEVICES_APP_PUBLIC_CPP_DEVICES_APP_FACTORY_H_
6 #define DEVICE_DEVICES_APP_PUBLIC_CPP_DEVICES_APP_FACTORY_H_ 6 #define DEVICE_DEVICES_APP_PUBLIC_CPP_DEVICES_APP_FACTORY_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 class ApplicationDelegate; 12 class ShellClient;
13 } 13 }
14 14
15 namespace device { 15 namespace device {
16 16
17 // Public factory for creating new instances of the devices app. 17 // Public factory for creating new instances of the devices app.
18 class DevicesAppFactory { 18 class DevicesAppFactory {
19 public: 19 public:
20 // Creates a DevicesApp delegate which can be used to launch a new instance 20 // Creates a DevicesApp delegate which can be used to launch a new instance
21 // of the devices app on a mojo application runner. The caller owns the 21 // of the devices app on a mojo application runner. The caller owns the
22 // delegate. 22 // delegate.
23 static scoped_ptr<mojo::ApplicationDelegate> CreateApp(); 23 static scoped_ptr<mojo::ShellClient> CreateApp();
24 }; 24 };
25 25
26 } // namespace device 26 } // namespace device
27 27
28 #endif // DEVICE_DEVICES_APP_PUBLIC_CPP_DEVICES_APP_FACTORY_H_ 28 #endif // DEVICE_DEVICES_APP_PUBLIC_CPP_DEVICES_APP_FACTORY_H_
OLDNEW
« no previous file with comments | « device/devices_app/main.cc ('k') | device/devices_app/public/cpp/devices_app_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698