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_EXTERNAL_REGISTRY_EXTENSION_LOADER_WIN_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_REGISTRY_EXTENSION_LOADER_WIN_H_ 7 #pragma once 8 9 #include "chrome/browser/extensions/external_extension_loader.h" 10 11 class ExternalRegistryExtensionLoader : public ExternalExtensionLoader { 12 public: 13 ExternalRegistryExtensionLoader() {} 14 15 protected: 16 virtual void StartLoading(); 17 18 private: 19 friend class base::RefCountedThreadSafe<ExternalExtensionLoader>; 20 21 virtual ~ExternalRegistryExtensionLoader() {} 22 23 void LoadOnFileThread(); 24 25 DISALLOW_COPY_AND_ASSIGN(ExternalRegistryExtensionLoader); 26 }; 27 28 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_REGISTRY_EXTENSION_LOADER_WIN_H_ 29