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

Side by Side Diff: mojo/shell/test_package_manager.cc

Issue 1679573002: Move shell interfaces into the shell.mojom namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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/test_package_manager.h ('k') | ui/views/mus/native_widget_mus.h » ('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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include "mojo/shell/test_package_manager.h" 7 #include "mojo/shell/test_package_manager.h"
8 8
9 namespace mojo { 9 namespace mojo {
10 namespace shell { 10 namespace shell {
11 namespace test { 11 namespace test {
12 12
13 TestPackageManager::TestPackageManager() {} 13 TestPackageManager::TestPackageManager() {}
14 TestPackageManager::~TestPackageManager() {} 14 TestPackageManager::~TestPackageManager() {}
15 15
16 void TestPackageManager::SetApplicationManager(ApplicationManager* manager) {} 16 void TestPackageManager::SetApplicationManager(ApplicationManager* manager) {}
17 void TestPackageManager::FetchRequest( 17 void TestPackageManager::FetchRequest(
18 URLRequestPtr request, 18 URLRequestPtr request,
19 const Fetcher::FetchCallback& loader_callback) {} 19 const Fetcher::FetchCallback& loader_callback) {}
20 uint32_t TestPackageManager::HandleWithContentHandler( 20 uint32_t TestPackageManager::HandleWithContentHandler(
21 Fetcher* fetcher, 21 Fetcher* fetcher,
22 const Identity& source, 22 const Identity& source,
23 const GURL& target_url, 23 const GURL& target_url,
24 const CapabilityFilter& target_filter, 24 const CapabilityFilter& target_filter,
25 InterfaceRequest<Application>* application_request) { 25 InterfaceRequest<shell::mojom::Application>* application_request) {
26 return 0; 26 return 0;
27 } 27 }
28 bool TestPackageManager::IsURLInCatalog(const std::string& url) const { 28 bool TestPackageManager::IsURLInCatalog(const std::string& url) const {
29 return true; 29 return true;
30 } 30 }
31 std::string TestPackageManager::GetApplicationName( 31 std::string TestPackageManager::GetApplicationName(
32 const std::string& url) const { return url; } 32 const std::string& url) const { return url; }
33 33
34 } // namespace test 34 } // namespace test
35 } // namespace shell 35 } // namespace shell
36 } // namespace mojo 36 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/test_package_manager.h ('k') | ui/views/mus/native_widget_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698