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

Side by Side Diff: mojo/shell/package_manager/content_handler_connection.h

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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 #ifndef MOJO_SHELL_PACKAGE_MANAGER_CONTENT_HANDLER_CONNECTION_H_ 5 #ifndef MOJO_SHELL_PACKAGE_MANAGER_CONTENT_HANDLER_CONNECTION_H_
6 #define MOJO_SHELL_PACKAGE_MANAGER_CONTENT_HANDLER_CONNECTION_H_ 6 #define MOJO_SHELL_PACKAGE_MANAGER_CONTENT_HANDLER_CONNECTION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "mojo/application/public/interfaces/content_handler.mojom.h"
15 #include "mojo/shell/identity.h" 14 #include "mojo/shell/identity.h"
15 #include "mojo/shell/public/interfaces/content_handler.mojom.h"
16 #include "url/gurl.h" 16 #include "url/gurl.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 namespace shell { 19 namespace shell {
20 class ApplicationManager; 20 class ApplicationManager;
21 21
22 // A ContentHandlerConnection is responsible for creating and maintaining a 22 // A ContentHandlerConnection is responsible for creating and maintaining a
23 // connection to an app which provides the ContentHandler service. 23 // connection to an app which provides the ContentHandler service.
24 // A ContentHandlerConnection can only be destroyed via CloseConnection. 24 // A ContentHandlerConnection can only be destroyed via CloseConnection.
25 // A ContentHandlerConnection manages its own lifetime and cannot be used with 25 // A ContentHandlerConnection manages its own lifetime and cannot be used with
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const uint32_t id_; 58 const uint32_t id_;
59 int ref_count_; 59 int ref_count_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(ContentHandlerConnection); 61 DISALLOW_COPY_AND_ASSIGN(ContentHandlerConnection);
62 }; 62 };
63 63
64 } // namespace shell 64 } // namespace shell
65 } // namespace mojo 65 } // namespace mojo
66 66
67 #endif // MOJO_SHELL_PACKAGE_MANAGER_CONTENT_HANDLER_CONNECTION_H_ 67 #endif // MOJO_SHELL_PACKAGE_MANAGER_CONTENT_HANDLER_CONNECTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698