OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_REGISTRY_EXTENSION_LOADER_WIN_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_REGISTRY_EXTENSION_LOADER_WIN_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_REGISTRY_EXTENSION_LOADER_WIN_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_REGISTRY_EXTENSION_LOADER_WIN_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "chrome/browser/extensions/external_extension_loader.h" | 9 #include "chrome/browser/extensions/external_extension_loader.h" |
11 | 10 |
12 class ExternalRegistryExtensionLoader : public ExternalExtensionLoader { | 11 class ExternalRegistryExtensionLoader : public ExternalExtensionLoader { |
13 public: | 12 public: |
14 ExternalRegistryExtensionLoader() {} | 13 ExternalRegistryExtensionLoader() {} |
15 | 14 |
16 protected: | 15 protected: |
17 virtual void StartLoading() OVERRIDE; | 16 virtual void StartLoading() OVERRIDE; |
18 | 17 |
19 private: | 18 private: |
20 friend class base::RefCountedThreadSafe<ExternalExtensionLoader>; | 19 friend class base::RefCountedThreadSafe<ExternalExtensionLoader>; |
21 | 20 |
22 virtual ~ExternalRegistryExtensionLoader() {} | 21 virtual ~ExternalRegistryExtensionLoader() {} |
23 | 22 |
24 void LoadOnFileThread(); | 23 void LoadOnFileThread(); |
25 | 24 |
26 DISALLOW_COPY_AND_ASSIGN(ExternalRegistryExtensionLoader); | 25 DISALLOW_COPY_AND_ASSIGN(ExternalRegistryExtensionLoader); |
27 }; | 26 }; |
28 | 27 |
29 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_REGISTRY_EXTENSION_LOADER_WIN_H_ | 28 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_REGISTRY_EXTENSION_LOADER_WIN_H_ |
OLD | NEW |