summaryrefslogtreecommitdiffstats
path: root/app/tree_model.h
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-30 05:31:40 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-30 05:31:40 +0000
commit440b37b2c3a29be151a7262d9188d5e8151176fb (patch)
treeb2cc9283d1efd597472619dcfd016a4a0f0e32ff /app/tree_model.h
parent6cd3bd20cd448bc1bca33748395bf4381dfb7fc6 (diff)
downloadchromium_src-440b37b2c3a29be151a7262d9188d5e8151176fb.zip
chromium_src-440b37b2c3a29be151a7262d9188d5e8151176fb.tar.gz
chromium_src-440b37b2c3a29be151a7262d9188d5e8151176fb.tar.bz2
Remove the wstring TreeModelNode::GetTitle() and rename GetTitleAsString16() to GetTitle().
BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3279005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/tree_model.h')
-rw-r--r--app/tree_model.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/tree_model.h b/app/tree_model.h
index d2e37b1..df06b9f 100644
--- a/app/tree_model.h
+++ b/app/tree_model.h
@@ -6,7 +6,6 @@
#define APP_TREE_MODEL_H_
#pragma once
-#include <string>
#include <vector>
#include "base/logging.h"
@@ -22,9 +21,7 @@ class TreeModel;
class TreeModelNode {
public:
// Returns the title for the node.
- // TODO(viettrungluu): remove wstring version and rename string16 version.
- virtual std::wstring GetTitle() const = 0;
- virtual const string16& GetTitleAsString16() const = 0;
+ virtual const string16& GetTitle() const = 0;
protected:
virtual ~TreeModelNode() {}