Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / extensions / test_extension_service.cc
blobe8385e44d39d0f6d592bd2f1410055fa22dd8938
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/extensions/crx_installer.h"
6 #include "chrome/browser/extensions/test_extension_service.h"
7 #include "testing/gtest/include/gtest/gtest.h"
9 using extensions::Extension;
11 TestExtensionService::~TestExtensionService() {}
13 const extensions::ExtensionSet* TestExtensionService::extensions() const {
14 ADD_FAILURE();
15 return NULL;
18 extensions::PendingExtensionManager*
19 TestExtensionService::pending_extension_manager() {
20 ADD_FAILURE();
21 return NULL;
24 bool TestExtensionService::UpdateExtension(
25 const std::string& id,
26 const base::FilePath& path,
27 bool file_ownership_passed,
28 extensions::CrxInstaller** out_crx_installer) {
29 ADD_FAILURE();
30 return false;
33 const Extension* TestExtensionService::GetExtensionById(
34 const std::string& id, bool include_disabled) const {
35 ADD_FAILURE();
36 return NULL;
39 const Extension* TestExtensionService::GetInstalledExtension(
40 const std::string& id) const {
41 ADD_FAILURE();
42 return NULL;
45 const Extension* TestExtensionService::GetPendingExtensionUpdate(
46 const std::string& id) const {
47 ADD_FAILURE();
48 return NULL;
51 void TestExtensionService::FinishDelayedInstallation(
52 const std::string& extension_id) {
53 ADD_FAILURE();
56 bool TestExtensionService::IsExtensionEnabled(
57 const std::string& extension_id) const {
58 ADD_FAILURE();
59 return false;
62 void TestExtensionService::CheckManagementPolicy() {
63 ADD_FAILURE();
66 void TestExtensionService::CheckForUpdatesSoon() {
67 ADD_FAILURE();
70 bool TestExtensionService::is_ready() {
71 ADD_FAILURE();
72 return false;
75 base::SequencedTaskRunner* TestExtensionService::GetFileTaskRunner() {
76 ADD_FAILURE();
77 return NULL;
80 void TestExtensionService::AddExtension(const Extension* extension) {
81 ADD_FAILURE();
84 void TestExtensionService::AddComponentExtension(const Extension* extension) {
85 ADD_FAILURE();
88 void TestExtensionService::UnloadExtension(
89 const std::string& extension_id,
90 extensions::UnloadedExtensionInfo::Reason reason) {
91 ADD_FAILURE();
94 void TestExtensionService::RemoveComponentExtension(
95 const std::string& extension_id) {
96 ADD_FAILURE();