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

Unified Diff: chrome/browser/ui/webui/extensions/extension_loader_handler.h

Issue 979453002: [Extensions] Make chrome://extensions use developerPrivate for unpacked loading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 years, 10 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/ui/webui/extensions/extension_loader_handler.h
diff --git a/chrome/browser/ui/webui/extensions/extension_loader_handler.h b/chrome/browser/ui/webui/extensions/extension_loader_handler.h
index 15989a60d49634810488465f9d6edca9e11a4904..02415d06c7aebb550b5b9680b6e6033a787becac 100644
--- a/chrome/browser/ui/webui/extensions/extension_loader_handler.h
+++ b/chrome/browser/ui/webui/extensions/extension_loader_handler.h
@@ -45,11 +45,6 @@ class ExtensionLoaderHandler : public content::WebUIMessageHandler,
void RegisterMessages() override;
private:
- class FileHelper;
-
- // Handle the 'extensionLoaderLoadUnpacked' message.
- void HandleLoadUnpacked(const base::ListValue* args);
-
// Handle the 'extensionLoaderRetry' message.
void HandleRetry(const base::ListValue* args);
@@ -60,7 +55,7 @@ class ExtensionLoaderHandler : public content::WebUIMessageHandler,
void HandleDisplayFailures(const base::ListValue* args);
// Try to load an unpacked extension from the given |file_path|.
- void LoadUnpackedExtensionImpl(const base::FilePath& file_path);
+ void LoadUnpackedExtension(const base::FilePath& file_path);
// ExtensionErrorReporter::Observer:
void OnLoadFailure(content::BrowserContext* browser_context,
@@ -86,9 +81,6 @@ class ExtensionLoaderHandler : public content::WebUIMessageHandler,
// The profile with which this Handler is associated.
Profile* profile_;
- // A helper to manage file picking.
- scoped_ptr<FileHelper> file_helper_;
-
// Holds information about all unpacked extension install failures that
// were reported while the extensions page was loading.
base::ListValue failures_;

Powered by Google App Engine
This is Rietveld 408576698