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

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

Issue 56833003: Use base::PostTaskAndReplyWithResults() in more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, fix clang error Created 7 years, 1 month 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_error_handler.h
diff --git a/chrome/browser/ui/webui/extensions/extension_error_handler.h b/chrome/browser/ui/webui/extensions/extension_error_handler.h
index b419135d1220b982cf5d543ad23ef8a1d0a8ae8a..41ea12acdde0c2c7e1eab9258d88eaded4952bbf 100644
--- a/chrome/browser/ui/webui/extensions/extension_error_handler.h
+++ b/chrome/browser/ui/webui/extensions/extension_error_handler.h
@@ -49,18 +49,18 @@ class ExtensionErrorHandler : public content::WebUIMessageHandler {
// Populate the results for a manifest file's content in response to the
// "requestFileSource" call. Highlight the part of the manifest which
// corresponds to the given |key| and |specific| locations. Caller owns
- // |dict| and |contents|.
+ // |dict|.
void GetManifestFileCallback(base::DictionaryValue* dict,
const std::string& key,
const std::string& specific,
- std::string* contents);
+ const std::string& contents);
// Populate the results for a source file's content in response to the
// "requestFileSource" call. Highlight the part of the source which
// corresponds to the given |line_number|.
void GetSourceFileCallback(base::DictionaryValue* results,
int line_number,
- std::string* contents);
+ const std::string& contents);
// The profile with which this Handler is associated.
Profile* profile_;
« no previous file with comments | « chrome/browser/extensions/image_loader.cc ('k') | chrome/browser/ui/webui/extensions/extension_error_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698