Index: chrome/browser/spellchecker/misspelling.h |
diff --git a/chrome/browser/spellchecker/misspelling.h b/chrome/browser/spellchecker/misspelling.h |
index 44bd78a67ff07b672bfc78e7782a85cf7e034c7d..31cf156c809c6a1211f4c10a1d03296b76fe3a78 100644 |
--- a/chrome/browser/spellchecker/misspelling.h |
+++ b/chrome/browser/spellchecker/misspelling.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
// |
@@ -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. |