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

Unified Diff: chrome/browser/signin/chrome_signin_client.cc

Issue 348313003: Create withheld permissions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/signin/chrome_signin_client.cc
diff --git a/chrome/browser/signin/chrome_signin_client.cc b/chrome/browser/signin/chrome_signin_client.cc
index 223fb7a0a17c31cdeab19c02b0e1141ec72721fd..14f7f99ccd99afae3824251b6a20f9eb7260f1c0 100644
--- a/chrome/browser/signin/chrome_signin_client.cc
+++ b/chrome/browser/signin/chrome_signin_client.cc
@@ -79,7 +79,8 @@ void ChromeSigninClient::ClearSigninProcess() {
}
bool ChromeSigninClient::IsSigninProcess(int process_id) const {
- return process_id == signin_host_id_;
+ return process_id != ChildProcessHost::kInvalidUniqueID &&
+ process_id == signin_host_id_;
}
bool ChromeSigninClient::HasSigninProcess() const {

Powered by Google App Engine
This is Rietveld 408576698