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

Side by Side Diff: ios/web/public/web_state/js/credential_util.h

Issue 1456983002: Move JS-related password manager code upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Indent fixed, capitalisation fixed, typo fixed Created 5 years, 1 month 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
« no previous file with comments | « ios/web/ios_web.gyp ('k') | ios/web/web_state/js/credential_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef IOS_WEB_WEB_STATE_JS_CREDENTIAL_UTIL_H_ 5 #ifndef IOS_WEB_PUBLIC_WEB_STATE_JS_CREDENTIAL_UTIL_H_
6 #define IOS_WEB_WEB_STATE_JS_CREDENTIAL_UTIL_H_ 6 #define IOS_WEB_PUBLIC_WEB_STATE_JS_CREDENTIAL_UTIL_H_
7 7
8 namespace base { 8 namespace base {
9 class DictionaryValue; 9 class DictionaryValue;
10 } // namespace base 10 } // namespace base
11 11
12 namespace web { 12 namespace web {
13 13
14 struct Credential; 14 struct Credential;
15 15
16 // Populates |credential| from |value|, returning true if successful and false 16 // Populates |credential| from |value|, returning true if successful and false
(...skipping 20 matching lines...) Expand all
37 // not be modified and false will be returned. |credential| must not be null. 37 // not be modified and false will be returned. |credential| must not be null.
38 bool DictionaryValueToCredential(const base::DictionaryValue& value, 38 bool DictionaryValueToCredential(const base::DictionaryValue& value,
39 Credential* credential); 39 Credential* credential);
40 40
41 // Serializes |credential| to |value|. 41 // Serializes |credential| to |value|.
42 void CredentialToDictionaryValue(const Credential& credential, 42 void CredentialToDictionaryValue(const Credential& credential,
43 base::DictionaryValue* value); 43 base::DictionaryValue* value);
44 44
45 } // namespace web 45 } // namespace web
46 46
47 #endif // IOS_WEB_WEB_STATE_JS_CREDENTIAL_UTIL_H_ 47 #endif // IOS_WEB_PUBLIC_WEB_STATE_JS_CREDENTIAL_UTIL_H_
OLDNEW
« no previous file with comments | « ios/web/ios_web.gyp ('k') | ios/web/web_state/js/credential_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698