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

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

Issue 3077022: Extension package creation cleanup (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: This would be a lot easier if I could actually compile on Windows Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 // ContentScript JSON Struct for page. (static for ease of testing). 118 // ContentScript JSON Struct for page. (static for ease of testing).
119 static DictionaryValue* CreateContentScriptDetailValue( 119 static DictionaryValue* CreateContentScriptDetailValue(
120 const UserScript& script, 120 const UserScript& script,
121 const FilePath& extension_path); 121 const FilePath& extension_path);
122 122
123 // ExtensionPackJob::Client 123 // ExtensionPackJob::Client
124 virtual void OnPackSuccess(const FilePath& crx_file, 124 virtual void OnPackSuccess(const FilePath& crx_file,
125 const FilePath& key_file); 125 const FilePath& key_file);
126 126
127 virtual void OnPackFailure(const std::string& message); 127 virtual void OnPackFailure(const std::string& error);
128 128
129 // ExtensionInstallUI::Delegate implementation, used for receiving 129 // ExtensionInstallUI::Delegate implementation, used for receiving
130 // notification about uninstall confirmation dialog selections. 130 // notification about uninstall confirmation dialog selections.
131 virtual void InstallUIProceed(bool create_app_shortcut); 131 virtual void InstallUIProceed(bool create_app_shortcut);
132 virtual void InstallUIAbort(); 132 virtual void InstallUIAbort();
133 133
134 private: 134 private:
135 // Callback for "requestExtensionsData" message. 135 // Callback for "requestExtensionsData" message.
136 void HandleRequestExtensionsData(const Value* value); 136 void HandleRequestExtensionsData(const Value* value);
137 137
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 258
259 static RefCountedMemory* GetFaviconResourceBytes(); 259 static RefCountedMemory* GetFaviconResourceBytes();
260 260
261 static void RegisterUserPrefs(PrefService* prefs); 261 static void RegisterUserPrefs(PrefService* prefs);
262 262
263 private: 263 private:
264 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI); 264 DISALLOW_COPY_AND_ASSIGN(ExtensionsUI);
265 }; 265 };
266 266
267 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_ 267 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extensions_service_unittest.cc ('k') | chrome/browser/extensions/extensions_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698