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

Unified Diff: chrome/browser/media/router/media_route.h

Issue 2112673002: Removing references to Off the Record from MediaRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | chrome/browser/media/router/media_route.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/media_route.h
diff --git a/chrome/browser/media/router/media_route.h b/chrome/browser/media/router/media_route.h
index 4d809008bfe6f5027fdb11aad43ac2e4aba1c703..66079282c8c452e4dcdab8f61b2e31099a6dd528 100644
--- a/chrome/browser/media/router/media_route.h
+++ b/chrome/browser/media/router/media_route.h
@@ -74,13 +74,11 @@ class MediaRoute {
bool for_display() const { return for_display_; }
- // Sets off_the_record. Set this to true when the route was created by an off
- // the record (incognito) profile.
- void set_off_the_record(bool off_the_record) {
- off_the_record_ = off_the_record;
- }
+ // Sets incognito. Set this to true when the route was created by an
tommycli 2016/06/29 23:09:33 I recommend refactoring this comment to simply say
trizzofo 2016/06/29 23:32:22 Done.
+ // incognito profile.
+ void set_incognito(bool incognito) { incognito_ = incognito; }
- bool off_the_record() const { return off_the_record_; }
+ bool incognito() const { return incognito_; }
bool Equals(const MediaRoute& other) const;
@@ -92,7 +90,7 @@ class MediaRoute {
bool is_local_;
std::string custom_controller_path_;
bool for_display_;
- bool off_the_record_;
+ bool incognito_;
};
} // namespace media_router
« no previous file with comments | « no previous file | chrome/browser/media/router/media_route.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698