OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/sync/glue/password_model_associator.h" | 5 #include "chrome/browser/sync/glue/password_model_associator.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "chrome/browser/password_manager/password_store.h" | 12 #include "chrome/browser/password_manager/password_store.h" |
13 #include "chrome/browser/sync/profile_sync_service.h" | 13 #include "chrome/browser/sync/profile_sync_service.h" |
14 #include "content/public/common/password_form.h" | 14 #include "content/public/common/password_form.h" |
15 #include "net/base/escape.h" | 15 #include "net/base/escape.h" |
16 #include "sync/api/sync_error.h" | 16 #include "sync/api/sync_error.h" |
17 #include "sync/internal_api/public/read_node.h" | 17 #include "sync/internal_api/public/read_node.h" |
18 #include "sync/internal_api/public/read_transaction.h" | 18 #include "sync/internal_api/public/read_transaction.h" |
19 #include "sync/internal_api/public/write_node.h" | 19 #include "sync/internal_api/public/write_node.h" |
20 #include "sync/internal_api/public/write_transaction.h" | 20 #include "sync/internal_api/public/write_transaction.h" |
21 #include "sync/protocol/password_specifics.pb.h" | 21 #include "sync/protocol/password_specifics.pb.h" |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 const std::string& password_element, | 437 const std::string& password_element, |
438 const std::string& signon_realm) { | 438 const std::string& signon_realm) { |
439 return net::EscapePath(origin_url) + "|" + | 439 return net::EscapePath(origin_url) + "|" + |
440 net::EscapePath(username_element) + "|" + | 440 net::EscapePath(username_element) + "|" + |
441 net::EscapePath(username_value) + "|" + | 441 net::EscapePath(username_value) + "|" + |
442 net::EscapePath(password_element) + "|" + | 442 net::EscapePath(password_element) + "|" + |
443 net::EscapePath(signon_realm); | 443 net::EscapePath(signon_realm); |
444 } | 444 } |
445 | 445 |
446 } // namespace browser_sync | 446 } // namespace browser_sync |
OLD | NEW |