| 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_;
|
|
|