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

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: Rebase again. Created 6 years, 6 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
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/tab_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index d8abe54a9b8395a664840d86570067995555bff3..8800ae0126167a5119a003a2f15a6c5783af1cd3 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -771,15 +771,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:
@@ -1336,6 +1327,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,
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/tab_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698