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

Side by Side Diff: chrome/browser/extensions/extensions_ui.h

Issue 7920023: Fix crashes related to the extension uninstall dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make Show() pure virtual Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSIONS_UI_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 bool enabled, 67 bool enabled,
68 bool terminated); 68 bool terminated);
69 69
70 // ExtensionPackJob::Client 70 // ExtensionPackJob::Client
71 virtual void OnPackSuccess(const FilePath& crx_file, 71 virtual void OnPackSuccess(const FilePath& crx_file,
72 const FilePath& key_file) OVERRIDE; 72 const FilePath& key_file) OVERRIDE;
73 73
74 virtual void OnPackFailure(const std::string& error) OVERRIDE; 74 virtual void OnPackFailure(const std::string& error) OVERRIDE;
75 75
76 // ExtensionUninstallDialog::Delegate: 76 // ExtensionUninstallDialog::Delegate:
77 virtual void ExtensionDialogAccepted() OVERRIDE; 77 virtual void ExtensionUninstallAccepted() OVERRIDE;
78 virtual void ExtensionDialogCanceled() OVERRIDE; 78 virtual void ExtensionUninstallCanceled() OVERRIDE;
79 79
80 private: 80 private:
81 // Callback for "requestExtensionsData" message. 81 // Callback for "requestExtensionsData" message.
82 void HandleRequestExtensionsData(const base::ListValue* args); 82 void HandleRequestExtensionsData(const base::ListValue* args);
83 83
84 // Callback for "toggleDeveloperMode" message. 84 // Callback for "toggleDeveloperMode" message.
85 void HandleToggleDeveloperMode(const base::ListValue* args); 85 void HandleToggleDeveloperMode(const base::ListValue* args);
86 86
87 // Callback for "inspect" message. 87 // Callback for "inspect" message.
88 void HandleInspectMessage(const base::ListValue* args); 88 void HandleInspectMessage(const base::ListValue* args);
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 196
197 static RefCountedMemory* GetFaviconResourceBytes(); 197 static RefCountedMemory* GetFaviconResourceBytes();
198 198
199 static void RegisterUserPrefs(PrefService* prefs); 199 static void RegisterUserPrefs(PrefService* prefs);
200 200
201 private: 201 private:
202 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI); 202 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI);
203 }; 203 };
204 204
205 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ 205 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_uninstall_dialog.cc ('k') | chrome/browser/extensions/extensions_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698