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

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

Issue 1371793004: Provide the DeviceManager service to the renderer directly, no app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interface_permission
Patch Set: Fix header inclusion in chrome_content_browser_client.cc. Created 5 years, 2 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
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 #include "device/devices_app/public/cpp/devices_app_factory.h" 5 #include "device/devices_app/public/cpp/devices_app_factory.h"
6 6
7 #include "device/devices_app/devices_app.h" 7 #include "device/devices_app/devices_app.h"
8 8
9 namespace device { 9 namespace device {
10 10
11 // static 11 // static
12 scoped_ptr<mojo::ApplicationDelegate> DevicesAppFactory::CreateApp( 12 scoped_ptr<mojo::ApplicationDelegate> DevicesAppFactory::CreateApp() {
13 scoped_refptr<base::SequencedTaskRunner> service_task_runner) { 13 return scoped_ptr<mojo::ApplicationDelegate>(new DevicesApp());
14 return scoped_ptr<mojo::ApplicationDelegate>(
15 new DevicesApp(service_task_runner));
16 } 14 }
17 15
18 } // namespace device 16 } // namespace device
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698