Chromium Code Reviews| 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 |