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

Unified Diff: chrome/browser/ui/browser.cc

Issue 302653006: Remove use of ResourceRequestInfo::GetRequestID from cert enrollment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android build. Created 6 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/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index f3e71c14e86fa01188a4773b7221924a4a69593f..12acd8e881bbb0585a7f9921ec51013e7eaa735c 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -770,15 +770,6 @@ void Browser::WindowFullscreenStateChanged() {
UpdateBookmarkBarState(BOOKMARK_BAR_STATE_CHANGE_TOGGLE_FULLSCREEN);
}
-void Browser::VisibleSSLStateChanged(content::WebContents* web_contents) {
- // When the current tab's SSL state changes, we need to update the URL
- // bar to reflect the new state.
- DCHECK(web_contents);
- if (tab_strip_model_->GetActiveWebContents() == web_contents)
- UpdateToolbar(false);
-}
-
-
///////////////////////////////////////////////////////////////////////////////
// Browser, Assorted browser commands:
@@ -1335,6 +1326,14 @@ void Browser::NavigationStateChanged(const WebContents* source,
command_controller_->TabStateChanged();
}
+void Browser::VisibleSSLStateChanged(const WebContents* source) {
+ // When the current tab's SSL state changes, we need to update the URL
+ // bar to reflect the new state.
+ DCHECK(source);
+ if (tab_strip_model_->GetActiveWebContents() == source)
+ UpdateToolbar(false);
+}
+
void Browser::AddNewContents(WebContents* source,
WebContents* new_contents,
WindowOpenDisposition disposition,

Powered by Google App Engine
This is Rietveld 408576698