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

Unified Diff: athena/test/sample_activity.h

Issue 322553004: Uses string16 for ActivityViewModel::GetTitle() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo of rebase Created 6 years, 6 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 | « athena/content/web_activity.cc ('k') | athena/test/sample_activity.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/test/sample_activity.h
diff --git a/athena/test/sample_activity.h b/athena/test/sample_activity.h
index 04745a51d73a24420d628715e53220bda3a77478..007a249ac39df5d047446e46e084ddf40bc96a5e 100644
--- a/athena/test/sample_activity.h
+++ b/athena/test/sample_activity.h
@@ -17,7 +17,7 @@ class SampleActivity : public Activity,
public:
SampleActivity(SkColor color,
SkColor contents_color,
- const std::string& title);
+ const base::string16& title);
virtual ~SampleActivity();
private:
@@ -26,12 +26,12 @@ class SampleActivity : public Activity,
// athena::ActivityViewModel:
virtual SkColor GetRepresentativeColor() OVERRIDE;
- virtual std::string GetTitle() OVERRIDE;
+ virtual base::string16 GetTitle() OVERRIDE;
virtual views::View* GetContentsView() OVERRIDE;
SkColor color_;
SkColor contents_color_;
- std::string title_;
+ base::string16 title_;
views::View* contents_view_;
DISALLOW_COPY_AND_ASSIGN(SampleActivity);
« no previous file with comments | « athena/content/web_activity.cc ('k') | athena/test/sample_activity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698