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

Side by Side Diff: components/password_manager/content/renderer/credential_manager_client.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/password_manager/content/renderer/credential_manager_client .h" 5 #include "components/password_manager/content/renderer/credential_manager_client .h"
6 6
7 #include <stddef.h>
8
7 #include "components/password_manager/content/common/credential_manager_content_ utils.h" 9 #include "components/password_manager/content/common/credential_manager_content_ utils.h"
8 #include "components/password_manager/content/common/credential_manager_messages .h" 10 #include "components/password_manager/content/common/credential_manager_messages .h"
9 #include "components/password_manager/core/common/credential_manager_types.h" 11 #include "components/password_manager/core/common/credential_manager_types.h"
10 #include "content/public/renderer/render_view.h" 12 #include "content/public/renderer/render_view.h"
11 #include "third_party/WebKit/public/platform/WebCredential.h" 13 #include "third_party/WebKit/public/platform/WebCredential.h"
12 #include "third_party/WebKit/public/platform/WebCredentialManagerError.h" 14 #include "third_party/WebKit/public/platform/WebCredentialManagerError.h"
13 #include "third_party/WebKit/public/platform/WebFederatedCredential.h" 15 #include "third_party/WebKit/public/platform/WebFederatedCredential.h"
14 #include "third_party/WebKit/public/platform/WebPassOwnPtr.h" 16 #include "third_party/WebKit/public/platform/WebPassOwnPtr.h"
15 #include "third_party/WebKit/public/platform/WebPasswordCredential.h" 17 #include "third_party/WebKit/public/platform/WebPasswordCredential.h"
16 #include "third_party/WebKit/public/web/WebView.h" 18 #include "third_party/WebKit/public/web/WebView.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 int request_id, 138 int request_id,
137 CredentialManagerClient::NotificationCallbacksMap* map) { 139 CredentialManagerClient::NotificationCallbacksMap* map) {
138 blink::WebCredentialManagerClient::NotificationCallbacks* callbacks = 140 blink::WebCredentialManagerClient::NotificationCallbacks* callbacks =
139 map->Lookup(request_id); 141 map->Lookup(request_id);
140 DCHECK(callbacks); 142 DCHECK(callbacks);
141 callbacks->onSuccess(); 143 callbacks->onSuccess();
142 map->Remove(request_id); 144 map->Remove(request_id);
143 } 145 }
144 146
145 } // namespace password_manager 147 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698