summaryrefslogtreecommitdiffstats
path: root/app/tree_model.h
diff options
context:
space:
mode:
authormunjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-11 23:10:55 +0000
committermunjal@chromium.org <munjal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-11 23:10:55 +0000
commite64e90172572f90ffb4633b90b1f5045a13a5aef (patch)
tree138d5db7c418369a87c70339439ae99e28192ebc /app/tree_model.h
parentf5f241605193ceb9efad351d502814e3e3d33626 (diff)
downloadchromium_src-e64e90172572f90ffb4633b90b1f5045a13a5aef.zip
chromium_src-e64e90172572f90ffb4633b90b1f5045a13a5aef.tar.gz
chromium_src-e64e90172572f90ffb4633b90b1f5045a13a5aef.tar.bz2
Use string16 instead of wstring in bookmark data model.
Add overloads to bookmark model for string16. Wrap wstring versions in #if !defined since string16 is just a typedef of wstring on windows. TEST=exist BUG=32013 Review URL: http://codereview.chromium.org/536013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35964 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/tree_model.h')
-rw-r--r--app/tree_model.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/tree_model.h b/app/tree_model.h
index 86d6424..9ce6cb1 100644
--- a/app/tree_model.h
+++ b/app/tree_model.h
@@ -20,7 +20,7 @@ class TreeModel;
class TreeModelNode {
public:
// Returns the title for the node.
- virtual const std::wstring& GetTitle() const = 0;
+ virtual std::wstring GetTitle() const = 0;
protected:
virtual ~TreeModelNode() {}