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

Unified Diff: chrome/browser/task_management/providers/task.h

Issue 1137183002: New Task Manager - Phase 1.3.1.B: SubframeTask (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing Nick's comments Created 5 years, 7 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 | « no previous file | chrome/browser/task_management/providers/web_contents/subframe_task.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/task_management/providers/task.h
diff --git a/chrome/browser/task_management/providers/task.h b/chrome/browser/task_management/providers/task.h
index f94a33f83c3b81f1f8e1ff7c141bccf05e1a4cf7..4a3b41a54adfc377c43e9c84e4c33612ba1a97b2 100644
--- a/chrome/browser/task_management/providers/task.h
+++ b/chrome/browser/task_management/providers/task.h
@@ -94,6 +94,10 @@ class Task {
const base::ProcessHandle& process_handle() const { return process_handle_; }
const base::ProcessId& process_id() const { return process_id_; }
+ protected:
+ void set_title(const base::string16& new_title) { title_ = new_title; }
+ void set_icon(const gfx::ImageSkia& new_icon) { icon_ = new_icon; }
+
private:
// The unique ID of this task.
const int64 task_id_;
« no previous file with comments | « no previous file | chrome/browser/task_management/providers/web_contents/subframe_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698