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

Side by Side Diff: mandoline/services/core_services/application_delegate_factory.h

Issue 1278803006: Gets //mandoline passing gn check (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: notandroid Created 5 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MANDOLINE_SERVICES_CORE_SERVICES_APPLICATION_DELEGATE_FACTORY_H_
6 #define MANDOLINE_SERVICES_CORE_SERVICES_APPLICATION_DELEGATE_FACTORY_H_
7
8 #include <string>
9
10 #include "base/memory/scoped_ptr.h"
11
12 namespace mojo {
13 class ApplicationDelegate;
14 }
15
16 namespace core_services {
17
18 // This is always called to create a platform specific ApplicationDelegate.
19 scoped_ptr<mojo::ApplicationDelegate> CreatePlatformSpecificApplicationDelegate(
20 const std::string& url);
21
22 // The following are conditionally called. You do not need to call these from
23 // CreatePlatformSpecificApplicationDelegate(), they are called (if appropriate)
24 // before CreatePlatformSpecificApplicationDelegate().
25 #if !defined(OS_ANDROID)
26 scoped_ptr<mojo::ApplicationDelegate> CreateApplicationDelegateNotAndroid(
27 const std::string& url);
28 #endif
29
30 #if defined(USE_AURA)
31 scoped_ptr<mojo::ApplicationDelegate> CreateApplicationDelegateAura(
32 const std::string& url);
33 #endif
34
35 } // namespace core_services
36
37 #endif // MANDOLINE_SERVICES_CORE_SERVICES_APPLICATION_DELEGATE_FACTORY_H_
OLDNEW
« no previous file with comments | « mandoline/services/core_services/BUILD.gn ('k') | mandoline/services/core_services/application_delegate_factory_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698