| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/stl_util-inl.h" | 9 #include "base/stl_util.h" |
| 10 #include "base/tracked.h" | 10 #include "base/tracked.h" |
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/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/engine/syncapi.h" | 13 #include "chrome/browser/sync/engine/syncapi.h" |
| 14 #include "chrome/browser/sync/profile_sync_service.h" | 14 #include "chrome/browser/sync/profile_sync_service.h" |
| 15 #include "chrome/browser/sync/protocol/password_specifics.pb.h" | 15 #include "chrome/browser/sync/protocol/password_specifics.pb.h" |
| 16 #include "net/base/escape.h" | 16 #include "net/base/escape.h" |
| 17 #include "webkit/glue/password_form.h" | 17 #include "webkit/glue/password_form.h" |
| 18 | 18 |
| 19 namespace browser_sync { | 19 namespace browser_sync { |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 const std::string& password_element, | 407 const std::string& password_element, |
| 408 const std::string& signon_realm) { | 408 const std::string& signon_realm) { |
| 409 return EscapePath(origin_url) + "|" + | 409 return EscapePath(origin_url) + "|" + |
| 410 EscapePath(username_element) + "|" + | 410 EscapePath(username_element) + "|" + |
| 411 EscapePath(username_value) + "|" + | 411 EscapePath(username_value) + "|" + |
| 412 EscapePath(password_element) + "|" + | 412 EscapePath(password_element) + "|" + |
| 413 EscapePath(signon_realm); | 413 EscapePath(signon_realm); |
| 414 } | 414 } |
| 415 | 415 |
| 416 } // namespace browser_sync | 416 } // namespace browser_sync |
| OLD | NEW |