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

Unified Diff: chrome/browser/managed_mode/managed_mode_navigation_observer.h

Issue 15715005: Remove passphrase dialog and last parts of elevation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also remove managed_user_passphrase_unittest. Created 7 years, 7 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/managed_mode/managed_mode_navigation_observer.h
diff --git a/chrome/browser/managed_mode/managed_mode_navigation_observer.h b/chrome/browser/managed_mode/managed_mode_navigation_observer.h
index 3378e640818909fce005458f3c7f9816d981be6e..c51a3c3bbfed92c9468ce071dd35cd19f3f6029c 100644
--- a/chrome/browser/managed_mode/managed_mode_navigation_observer.h
+++ b/chrome/browser/managed_mode/managed_mode_navigation_observer.h
@@ -24,12 +24,6 @@ class ManagedModeNavigationObserver
// Sets the specific infobar as dismissed.
void WarnInfobarDismissed();
- // Returns the elevation state for the corresponding WebContents.
- bool is_elevated() const;
-
- // Set the elevation state for the corresponding WebContents.
- void set_elevated(bool is_elevated);
-
// Adds a special history entry for the visit attempt and shows the
// interstitial.
static void OnRequestBlocked(int render_process_host_id,
@@ -62,10 +56,6 @@ class ManagedModeNavigationObserver
// Owned by the InfoBarService, which has the same lifetime as this object.
InfoBarDelegate* warn_infobar_delegate_;
- // The elevation state corresponding to the current WebContents.
- // Will be set to true for non-managed users.
- bool is_elevated_;
-
DISALLOW_COPY_AND_ASSIGN(ManagedModeNavigationObserver);
};

Powered by Google App Engine
This is Rietveld 408576698