Home | History | Annotate | Download | only in extensions
      1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_H__
      6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_H__
      7 #pragma once
      8 
      9 #include "chrome/browser/extensions/extension_function.h"
     10 
     11 class ExtensionPrefs;
     12 
     13 class SetUpdateUrlDataFunction : public SyncExtensionFunction {
     14  protected:
     15   virtual bool RunImpl();
     16   DECLARE_EXTENSION_FUNCTION_NAME("extension.setUpdateUrlData");
     17 
     18  private:
     19   ExtensionPrefs* extension_prefs();
     20 };
     21 
     22 class IsAllowedIncognitoAccessFunction : public SyncExtensionFunction {
     23  protected:
     24   virtual bool RunImpl();
     25   DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedIncognitoAccess");
     26 };
     27 
     28 class IsAllowedFileSchemeAccessFunction : public SyncExtensionFunction {
     29  protected:
     30   virtual bool RunImpl();
     31   DECLARE_EXTENSION_FUNCTION_NAME("extension.isAllowedFileSchemeAccess");
     32 };
     33 #endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_MODULE_H__
     34