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

Unified Diff: chrome/browser/chromeos/file_manager/file_tasks.h

Issue 1872223002: Add verbs API to file handlers. Modify the Chrome OS UI so that it displayes the internationalized … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix small nits after reading own CL. Created 4 years, 8 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
Index: chrome/browser/chromeos/file_manager/file_tasks.h
diff --git a/chrome/browser/chromeos/file_manager/file_tasks.h b/chrome/browser/chromeos/file_manager/file_tasks.h
index b357cc2f43ee0949d471c27969e016729476f67d..c98239058489c9cfcf3add78ea72b734b19a82f6 100644
--- a/chrome/browser/chromeos/file_manager/file_tasks.h
+++ b/chrome/browser/chromeos/file_manager/file_tasks.h
@@ -167,14 +167,16 @@ struct TaskDescriptor {
class FullTaskDescriptor {
public:
FullTaskDescriptor(const TaskDescriptor& task_descriptor,
- const std::string& task_title,
+ const base::string16& task_title,
const GURL& icon_url,
bool is_default,
bool is_generic_file_handler);
+ ~FullTaskDescriptor();
fukino 2016/04/11 09:19:43 Unnecessary change?
cmihail 2016/04/13 07:36:46 Sorry, I forgot to remove it after adding and remo
+
const TaskDescriptor& task_descriptor() const { return task_descriptor_; }
// The title of the task.
- const std::string& task_title() const { return task_title_; }
+ const base::string16& task_title() const { return task_title_; }
// The icon URL for the task (ex. app icon)
const GURL& icon_url() const { return icon_url_; }
@@ -193,7 +195,7 @@ class FullTaskDescriptor {
private:
TaskDescriptor task_descriptor_;
- std::string task_title_;
+ base::string16 task_title_;
GURL icon_url_;
bool is_default_;
bool is_generic_file_handler_;

Powered by Google App Engine
This is Rietveld 408576698