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

Side by Side Diff: mojo/shell/package_manager/package_manager_impl.cc

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
« no previous file with comments | « mojo/shell/package_manager/content_handler_unittest.cc ('k') | mojo/shell/public/cpp/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "mojo/shell/package_manager/package_manager_impl.h" 5 #include "mojo/shell/package_manager/package_manager_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "mojo/application/public/interfaces/content_handler.mojom.h"
13 #include "mojo/shell/application_manager.h" 12 #include "mojo/shell/application_manager.h"
14 #include "mojo/shell/connect_util.h" 13 #include "mojo/shell/connect_util.h"
15 #include "mojo/shell/fetcher/about_fetcher.h" 14 #include "mojo/shell/fetcher/about_fetcher.h"
16 #include "mojo/shell/fetcher/data_fetcher.h" 15 #include "mojo/shell/fetcher/data_fetcher.h"
17 #include "mojo/shell/fetcher/local_fetcher.h" 16 #include "mojo/shell/fetcher/local_fetcher.h"
18 #include "mojo/shell/fetcher/network_fetcher.h" 17 #include "mojo/shell/fetcher/network_fetcher.h"
19 #include "mojo/shell/fetcher/switches.h" 18 #include "mojo/shell/fetcher/switches.h"
20 #include "mojo/shell/package_manager/content_handler_connection.h" 19 #include "mojo/shell/package_manager/content_handler_connection.h"
20 #include "mojo/shell/public/interfaces/content_handler.mojom.h"
21 #include "mojo/shell/query_util.h" 21 #include "mojo/shell/query_util.h"
22 #include "mojo/shell/switches.h" 22 #include "mojo/shell/switches.h"
23 #include "mojo/util/filename_util.h" 23 #include "mojo/util/filename_util.h"
24 #include "url/gurl.h" 24 #include "url/gurl.h"
25 25
26 namespace mojo { 26 namespace mojo {
27 namespace shell { 27 namespace shell {
28 28
29 PackageManagerImpl::PackageManagerImpl( 29 PackageManagerImpl::PackageManagerImpl(
30 const base::FilePath& shell_file_root, 30 const base::FilePath& shell_file_root,
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 void PackageManagerImpl::OnContentHandlerConnectionClosed( 218 void PackageManagerImpl::OnContentHandlerConnectionClosed(
219 ContentHandlerConnection* connection) { 219 ContentHandlerConnection* connection) {
220 // Remove the mapping. 220 // Remove the mapping.
221 auto it = identity_to_content_handler_.find(connection->identity()); 221 auto it = identity_to_content_handler_.find(connection->identity());
222 DCHECK(it != identity_to_content_handler_.end()); 222 DCHECK(it != identity_to_content_handler_.end());
223 identity_to_content_handler_.erase(it); 223 identity_to_content_handler_.erase(it);
224 } 224 }
225 225
226 } // namespace shell 226 } // namespace shell
227 } // namespace mojo 227 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/package_manager/content_handler_unittest.cc ('k') | mojo/shell/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698