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

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: Test fix 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 29a63551be3db5d2232a99e0a7de0d3ed8073535..3238a1affee070531cf781e31875926cef182b19 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 &&
not at google - send to devlin 2014/06/27 23:24:33 can you do this in a separate CL?
Devlin 2014/06/30 17:06:10 Yeah, it already is. https://codereview.chromium.
+ process_id == signin_host_id_;
}
bool ChromeSigninClient::HasSigninProcess() const {

Powered by Google App Engine
This is Rietveld 408576698