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