Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(584)

Unified Diff: chrome/browser/extensions/external_filesystem_extension_loader_linux.h

Issue 10179002: Create an external source for extensions on linux that meets the needs of package managers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
+

Powered by Google App Engine
This is Rietveld 408576698