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

Unified Diff: chrome/browser/ui/webui/media_router/media_router_webui_message_handler.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/ui/webui/media_router/media_router_webui_message_handler.h
diff --git a/chrome/browser/ui/webui/media_router/media_router_webui_message_handler.h b/chrome/browser/ui/webui/media_router/media_router_webui_message_handler.h
index 37822d731570c48e63b94d8a6e0e5cd4bc596002..4a9156d42c7a6c7be3f690c589fbf13f53edfc5b 100644
--- a/chrome/browser/ui/webui/media_router/media_router_webui_message_handler.h
+++ b/chrome/browser/ui/webui/media_router/media_router_webui_message_handler.h
@@ -57,9 +57,7 @@ class MediaRouterWebUIMessageHandler : public content::WebUIMessageHandler {
void UpdateMaxDialogHeight(int height);
void SetWebUIForTest(content::WebUI* webui);
- void set_off_the_record_for_test(bool off_the_record) {
- off_the_record_ = off_the_record;
- }
+ void set_incognito_for_test(bool incognito) { incognito_ = incognito; }
private:
// WebUIMessageHandler implementation.
@@ -120,8 +118,8 @@ class MediaRouterWebUIMessageHandler : public content::WebUIMessageHandler {
// Marked virtual for tests.
virtual AccountInfo GetAccountInfo();
- // |true| if the associated Profile is off the record.
- bool off_the_record_;
+ // |true| if the associated Profile is incognito.
+ bool incognito_;
// Keeps track of whether a command to close the dialog has been issued.
bool dialog_closing_;

Powered by Google App Engine
This is Rietveld 408576698