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

Side by Side Diff: extensions/browser/test_runtime_api_delegate.cc

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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 | « extensions/browser/test_runtime_api_delegate.h ('k') | extensions/common/api/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 2014 The Chromium Authors. All rights reserved. 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 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 "extensions/browser/test_runtime_api_delegate.h" 5 #include "extensions/browser/test_runtime_api_delegate.h"
6 6
7 #include "extensions/common/api/runtime.h" 7 #include "extensions/common/api/runtime.h"
8 8
9 namespace extensions { 9 namespace extensions {
10 10
11 using core_api::runtime::PlatformInfo; 11 using api::runtime::PlatformInfo;
12 12
13 TestRuntimeAPIDelegate::TestRuntimeAPIDelegate() { 13 TestRuntimeAPIDelegate::TestRuntimeAPIDelegate() {
14 } 14 }
15 15
16 TestRuntimeAPIDelegate::~TestRuntimeAPIDelegate() { 16 TestRuntimeAPIDelegate::~TestRuntimeAPIDelegate() {
17 } 17 }
18 18
19 void TestRuntimeAPIDelegate::AddUpdateObserver(UpdateObserver* observer) { 19 void TestRuntimeAPIDelegate::AddUpdateObserver(UpdateObserver* observer) {
20 } 20 }
21 21
(...skipping 13 matching lines...) Expand all
35 const UpdateCheckCallback& callback) { 35 const UpdateCheckCallback& callback) {
36 return false; 36 return false;
37 } 37 }
38 38
39 void TestRuntimeAPIDelegate::OpenURL(const GURL& uninstall_url) { 39 void TestRuntimeAPIDelegate::OpenURL(const GURL& uninstall_url) {
40 } 40 }
41 41
42 bool TestRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) { 42 bool TestRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
43 // TODO(rockot): This probably isn't right. Maybe this delegate should just 43 // TODO(rockot): This probably isn't right. Maybe this delegate should just
44 // support manual PlatformInfo override for tests if necessary. 44 // support manual PlatformInfo override for tests if necessary.
45 info->os = core_api::runtime::PLATFORM_OS_CROS; 45 info->os = api::runtime::PLATFORM_OS_CROS;
46 return true; 46 return true;
47 } 47 }
48 48
49 bool TestRuntimeAPIDelegate::RestartDevice(std::string* error_message) { 49 bool TestRuntimeAPIDelegate::RestartDevice(std::string* error_message) {
50 return false; 50 return false;
51 } 51 }
52 52
53 } // namespace extensions 53 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/test_runtime_api_delegate.h ('k') | extensions/common/api/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698