Home | History | Annotate | Download | only in browser
      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
      3 // found in the LICENSE file.
      4 
      5 #include "extensions/browser/mock_extension_system.h"
      6 
      7 #include "extensions/common/extension_set.h"
      8 
      9 namespace extensions {
     10 
     11 //
     12 // MockExtensionSystem
     13 //
     14 
     15 MockExtensionSystem::MockExtensionSystem(content::BrowserContext* context)
     16     : browser_context_(context) {
     17 }
     18 
     19 MockExtensionSystem::~MockExtensionSystem() {
     20 }
     21 
     22 void MockExtensionSystem::InitForRegularProfile(bool extensions_enabled) {
     23 }
     24 
     25 ExtensionService* MockExtensionSystem::extension_service() {
     26   return NULL;
     27 }
     28 
     29 RuntimeData* MockExtensionSystem::runtime_data() {
     30   return NULL;
     31 }
     32 
     33 ManagementPolicy* MockExtensionSystem::management_policy() {
     34   return NULL;
     35 }
     36 
     37 SharedUserScriptMaster* MockExtensionSystem::shared_user_script_master() {
     38   return NULL;
     39 }
     40 
     41 ProcessManager* MockExtensionSystem::process_manager() {
     42   return NULL;
     43 }
     44 
     45 StateStore* MockExtensionSystem::state_store() {
     46   return NULL;
     47 }
     48 
     49 StateStore* MockExtensionSystem::rules_store() {
     50   return NULL;
     51 }
     52 
     53 InfoMap* MockExtensionSystem::info_map() {
     54   return NULL;
     55 }
     56 
     57 LazyBackgroundTaskQueue* MockExtensionSystem::lazy_background_task_queue() {
     58   return NULL;
     59 }
     60 
     61 EventRouter* MockExtensionSystem::event_router() {
     62   return NULL;
     63 }
     64 
     65 WarningService* MockExtensionSystem::warning_service() {
     66   return NULL;
     67 }
     68 
     69 Blacklist* MockExtensionSystem::blacklist() {
     70   return NULL;
     71 }
     72 
     73 ErrorConsole* MockExtensionSystem::error_console() {
     74   return NULL;
     75 }
     76 
     77 InstallVerifier* MockExtensionSystem::install_verifier() {
     78   return NULL;
     79 }
     80 
     81 QuotaService* MockExtensionSystem::quota_service() {
     82   return NULL;
     83 }
     84 
     85 const OneShotEvent& MockExtensionSystem::ready() const {
     86   return ready_;
     87 }
     88 
     89 ContentVerifier* MockExtensionSystem::content_verifier() {
     90   return NULL;
     91 }
     92 
     93 DeclarativeUserScriptMaster*
     94       MockExtensionSystem::GetDeclarativeUserScriptMasterByExtension(
     95           const ExtensionId& extension_id) {
     96   return NULL;
     97 }
     98 
     99 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions(
    100     const Extension* extension) {
    101   return scoped_ptr<ExtensionSet>();
    102 }
    103 
    104 }  // namespace extensions
    105