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

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: More refactoring on rebased code Created 4 years, 5 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/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..12ee0269cf37695255325320d75d13de87f01bb5 100644
--- a/chrome/browser/media/router/media_route.h
+++ b/chrome/browser/media/router/media_route.h
@@ -74,13 +74,10 @@ 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;
- }
+ // Set this to true when the route was created by an 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 +89,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 | « chrome/browser/media/android/router/media_router_android.cc ('k') | chrome/browser/media/router/media_route.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698