Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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_FILESYSTEM_EXTENSION_LOADER_LINUX_H_ | |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_FILESYSTEM_EXTENSION_LOADER_LINUX_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/compiler_specific.h" | |
| 10 #include "chrome/browser/extensions/external_extension_loader.h" | |
| 11 | |
| 12 class ExternalFilesystemExtensionLoader : public ExternalExtensionLoader { | |
| 13 public: | |
| 14 explicit ExternalFilesystemExtensionLoader(int base_path_key); | |
|
Finnur
2012/04/24 13:03:24
nit: document.
Alexandre Abreu
2012/04/24 19:30:30
Done.
| |
| 15 | |
| 16 protected: | |
| 17 virtual void StartLoading() OVERRIDE; | |
| 18 | |
| 19 private: | |
| 20 friend class base::RefCountedThreadSafe<ExternalExtensionLoader>; | |
| 21 | |
| 22 virtual ~ExternalFilesystemExtensionLoader() {} | |
|
Finnur
2012/04/24 13:03:24
Please move the implementation of this dtor to the
Alexandre Abreu
2012/04/24 19:30:30
Done.
| |
| 23 | |
| 24 void LoadOnFileThread(); | |
| 25 | |
| 26 int base_path_key_; | |
|
Finnur
2012/04/24 13:03:24
Document both of these.
Alexandre Abreu
2012/04/24 19:30:30
Done.
| |
| 27 | |
| 28 DISALLOW_COPY_AND_ASSIGN(ExternalFilesystemExtensionLoader); | |
| 29 }; | |
| 30 | |
| 31 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_FILESYSTEM_EXTENSION_LOADER_LINUX_ H_ | |
| 32 | |
| OLD | NEW |