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

Side by Side Diff: mojo/apps/js/content_handler_impl.h

Issue 608333002: Standalone Mojo Javascript application (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Standalone Mojo application Created 6 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
(Empty)
1 // Copyright 2014 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 MOJO_APPS_JS_CONTENT_HANDLER_IMPL_H_
6 #define MOJO_APPS_JS_CONTENT_HANDLER_IMPL_H_
7
8 #include "mojo/services/public/interfaces/content_handler/content_handler.mojom. h"
9
10 namespace mojo {
11 namespace apps {
12
13 class ApplicationDelegateImpl;
14
15 // Starts a new JSApp for each OnConnect call().
16
Aaron Boodman 2014/10/01 04:25:44 Delete empty line
hansmuller 2014/10/01 15:40:12 Done.
17 class ContentHandlerImpl : public InterfaceImpl<ContentHandler> {
18 public:
19 ContentHandlerImpl(ApplicationDelegateImpl* app_delegate_impl);
20 virtual ~ContentHandlerImpl();
Aaron Boodman 2014/10/01 04:25:44 Does this need to be public?
hansmuller 2014/10/01 15:40:12 I've made it private for now. When we manage the c
21
22 private:
23 virtual void OnConnect(
24 const mojo::String& url,
25 URLResponsePtr content,
26 InterfaceRequest<ServiceProvider> service_provider) override;
27
28 ApplicationDelegateImpl* app_delegate_impl_;
29 };
30
31 } // namespace apps
32 } // namespace mojo
33
34 #endif // MOJO_APPS_JS_CONTENT_HANDLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698