Index: chrome/browser/extensions/external_filesystem_extension_loader_linux.h |
diff --git a/chrome/browser/extensions/external_filesystem_extension_loader_linux.h b/chrome/browser/extensions/external_filesystem_extension_loader_linux.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f9a5018218b4d8d616bacff2a72267b467ea0ad1 |
--- /dev/null |
+++ b/chrome/browser/extensions/external_filesystem_extension_loader_linux.h |
@@ -0,0 +1,32 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_FILESYSTEM_EXTENSION_LOADER_LINUX_H_ |
+#define CHROME_BROWSER_EXTENSIONS_EXTERNAL_FILESYSTEM_EXTENSION_LOADER_LINUX_H_ |
+#pragma once |
+ |
+#include "base/compiler_specific.h" |
+#include "chrome/browser/extensions/external_extension_loader.h" |
+ |
+class ExternalFilesystemExtensionLoader : public ExternalExtensionLoader { |
+ public: |
+ explicit ExternalFilesystemExtensionLoader(int base_path_key); |
Finnur
2012/04/24 13:03:24
nit: document.
Alexandre Abreu
2012/04/24 19:30:30
Done.
|
+ |
+ protected: |
+ virtual void StartLoading() OVERRIDE; |
+ |
+ private: |
+ friend class base::RefCountedThreadSafe<ExternalExtensionLoader>; |
+ |
+ 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.
|
+ |
+ void LoadOnFileThread(); |
+ |
+ int base_path_key_; |
Finnur
2012/04/24 13:03:24
Document both of these.
Alexandre Abreu
2012/04/24 19:30:30
Done.
|
+ |
+ DISALLOW_COPY_AND_ASSIGN(ExternalFilesystemExtensionLoader); |
+}; |
+ |
+#endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_FILESYSTEM_EXTENSION_LOADER_LINUX_H_ |
+ |