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

Side by Side Diff: trunk/src/mojo/shell/context.cc

Issue 304593002: Revert 272983 "Change Shell / ShellClient to ServiceProvider" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "mojo/shell/context.h" 5 #include "mojo/shell/context.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "mojo/embedder/embedder.h" 11 #include "mojo/embedder/embedder.h"
12 #include "mojo/gles2/gles2_support_impl.h" 12 #include "mojo/gles2/gles2_support_impl.h"
13 #include "mojo/public/cpp/application/application.h" 13 #include "mojo/public/cpp/shell/application.h"
14 #include "mojo/service_manager/background_service_loader.h" 14 #include "mojo/service_manager/background_service_loader.h"
15 #include "mojo/service_manager/service_loader.h" 15 #include "mojo/service_manager/service_loader.h"
16 #include "mojo/service_manager/service_manager.h" 16 #include "mojo/service_manager/service_manager.h"
17 #include "mojo/services/native_viewport/native_viewport_service.h" 17 #include "mojo/services/native_viewport/native_viewport_service.h"
18 #include "mojo/shell/dynamic_service_loader.h" 18 #include "mojo/shell/dynamic_service_loader.h"
19 #include "mojo/shell/in_process_dynamic_service_runner.h" 19 #include "mojo/shell/in_process_dynamic_service_runner.h"
20 #include "mojo/shell/network_delegate.h" 20 #include "mojo/shell/network_delegate.h"
21 #include "mojo/shell/out_of_process_dynamic_service_runner.h" 21 #include "mojo/shell/out_of_process_dynamic_service_runner.h"
22 #include "mojo/shell/switches.h" 22 #include "mojo/shell/switches.h"
23 #include "mojo/spy/spy.h" 23 #include "mojo/spy/spy.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 #if defined(USE_AURA) 129 #if defined(USE_AURA)
130 service_manager_.SetLoaderForURL( 130 service_manager_.SetLoaderForURL(
131 scoped_ptr<ServiceLoader>(), 131 scoped_ptr<ServiceLoader>(),
132 GURL("mojo:mojo_view_manager")); 132 GURL("mojo:mojo_view_manager"));
133 #endif 133 #endif
134 service_manager_.set_default_loader(scoped_ptr<ServiceLoader>()); 134 service_manager_.set_default_loader(scoped_ptr<ServiceLoader>());
135 } 135 }
136 136
137 } // namespace shell 137 } // namespace shell
138 } // namespace mojo 138 } // namespace mojo
OLDNEW
« no previous file with comments | « trunk/src/mojo/shell/android/mojo_main.cc ('k') | trunk/src/mojo/shell/dbus_service_loader_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698