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

Side by Side Diff: extensions/test/test_extensions_client.cc

Issue 296133011: Move extension API schema registration to ExtensionsClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ifdefs =( Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « extensions/test/test_extensions_client.h ('k') | no next file » | 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/test/test_extensions_client.h" 5 #include "extensions/test/test_extensions_client.h"
6 6
7 #include "extensions/common/common_manifest_handlers.h" 7 #include "extensions/common/common_manifest_handlers.h"
8 #include "extensions/common/features/feature_provider.h" 8 #include "extensions/common/features/feature_provider.h"
9 #include "extensions/common/features/json_feature_provider_source.h" 9 #include "extensions/common/features/json_feature_provider_source.h"
10 #include "extensions/common/manifest_handler.h" 10 #include "extensions/common/manifest_handler.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 bool TestExtensionsClient::IsAPISchemaGenerated( 78 bool TestExtensionsClient::IsAPISchemaGenerated(
79 const std::string& name) const { 79 const std::string& name) const {
80 return false; 80 return false;
81 } 81 }
82 82
83 base::StringPiece TestExtensionsClient::GetAPISchema( 83 base::StringPiece TestExtensionsClient::GetAPISchema(
84 const std::string& name) const { 84 const std::string& name) const {
85 return base::StringPiece(); 85 return base::StringPiece();
86 } 86 }
87 87
88 void TestExtensionsClient::RegisterAPISchemaResources(ExtensionAPI* api) const {
89 }
90
88 bool TestExtensionsClient::ShouldSuppressFatalErrors() const { 91 bool TestExtensionsClient::ShouldSuppressFatalErrors() const {
89 return true; 92 return true;
90 } 93 }
91 94
92 } // namespace extensions 95 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/test/test_extensions_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698