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

Unified Diff: chrome/browser/spellchecker/misspelling.h

Issue 1665023002: Cheer up spell-checking code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More descriptive variable name Created 4 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
« no previous file with comments | « chrome/browser/spellchecker/feedback_sender_unittest.cc ('k') | chrome/browser/spellchecker/misspelling.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellchecker/misspelling.h
diff --git a/chrome/browser/spellchecker/misspelling.h b/chrome/browser/spellchecker/misspelling.h
index 44bd78a67ff07b672bfc78e7782a85cf7e034c7d..43b64749b4b4bb06dae6c774ceb9f56aba1bf3d0 100644
--- a/chrome/browser/spellchecker/misspelling.h
+++ b/chrome/browser/spellchecker/misspelling.h
@@ -17,6 +17,7 @@
#include <vector>
+#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
#include "chrome/browser/spellchecker/spellcheck_action.h"
@@ -63,9 +64,9 @@ struct Misspelling {
base::Time timestamp;
};
-// Serializes the data in this object into a dictionary value. The caller owns
-// the result.
-base::DictionaryValue* SerializeMisspelling(const Misspelling& misspelling);
+// Serializes the data in this object into a dictionary value.
+scoped_ptr<base::DictionaryValue> SerializeMisspelling(
+ const Misspelling& misspelling);
// Returns the substring of |context| that begins at |location| and contains
// |length| characters.
« no previous file with comments | « chrome/browser/spellchecker/feedback_sender_unittest.cc ('k') | chrome/browser/spellchecker/misspelling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698