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

Side by Side Diff: chrome/browser/sync/glue/password_model_associator.cc

Issue 5682007: Cleanup: Remove needed #includes for profile.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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-inl.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/password_manager/password_store.h" 11 #include "chrome/browser/password_manager/password_store.h"
12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/sync/engine/syncapi.h" 12 #include "chrome/browser/sync/engine/syncapi.h"
14 #include "chrome/browser/sync/profile_sync_service.h" 13 #include "chrome/browser/sync/profile_sync_service.h"
15 #include "chrome/browser/sync/protocol/password_specifics.pb.h" 14 #include "chrome/browser/sync/protocol/password_specifics.pb.h"
16 #include "net/base/escape.h" 15 #include "net/base/escape.h"
17 #include "webkit/glue/password_form.h" 16 #include "webkit/glue/password_form.h"
18 17
19 namespace browser_sync { 18 namespace browser_sync {
20 19
21 const char kPasswordTag[] = "google_chrome_passwords"; 20 const char kPasswordTag[] = "google_chrome_passwords";
22 21
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 const std::string& password_element, 377 const std::string& password_element,
379 const std::string& signon_realm) { 378 const std::string& signon_realm) {
380 return EscapePath(origin_url) + "|" + 379 return EscapePath(origin_url) + "|" +
381 EscapePath(username_element) + "|" + 380 EscapePath(username_element) + "|" +
382 EscapePath(username_value) + "|" + 381 EscapePath(username_value) + "|" +
383 EscapePath(password_element) + "|" + 382 EscapePath(password_element) + "|" +
384 EscapePath(signon_realm); 383 EscapePath(signon_realm);
385 } 384 }
386 385
387 } // namespace browser_sync 386 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/http_bridge.cc ('k') | chrome/browser/sync/glue/typed_url_model_associator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698