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. 4 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_REGISTRY_LOADER_WIN_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_REGISTRY_LOADER_WIN_H_ 7 8 #include "base/compiler_specific.h" 9 #include "chrome/browser/extensions/external_loader.h" 10 11 namespace extensions { 12 13 class ExternalRegistryLoader : public ExternalLoader { 14 public: 15 ExternalRegistryLoader() {} 16 17 protected: 18 virtual void StartLoading() OVERRIDE; 19 20 private: 21 friend class base::RefCountedThreadSafe<ExternalLoader>; 22 23 virtual ~ExternalRegistryLoader() {} 24 25 void LoadOnFileThread(); 26 27 DISALLOW_COPY_AND_ASSIGN(ExternalRegistryLoader); 28 }; 29 30 } // namespace extensions 31 32 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_REGISTRY_LOADER_WIN_H_ 33