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

Side by Side Diff: components/autofill/core/browser/webdata/autocomplete_syncable_service.cc

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. Created 4 years, 2 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 (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 "components/autofill/core/browser/webdata/autocomplete_syncable_service .h" 5 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service .h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "components/autofill/core/browser/webdata/autofill_table.h" 14 #include "components/autofill/core/browser/webdata/autofill_table.h"
15 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 15 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
16 #include "components/sync/api/sync_error.h" 16 #include "components/sync/model/sync_error.h"
17 #include "components/sync/api/sync_error_factory.h" 17 #include "components/sync/model/sync_error_factory.h"
18 #include "components/sync/protocol/autofill_specifics.pb.h" 18 #include "components/sync/protocol/autofill_specifics.pb.h"
19 #include "components/sync/protocol/sync.pb.h" 19 #include "components/sync/protocol/sync.pb.h"
20 #include "components/webdata/common/web_database.h" 20 #include "components/webdata/common/web_database.h"
21 #include "net/base/escape.h" 21 #include "net/base/escape.h"
22 22
23 namespace autofill { 23 namespace autofill {
24 namespace { 24 namespace {
25 25
26 const char kAutofillEntryNamespaceTag[] = "autofill_entry|"; 26 const char kAutofillEntryNamespaceTag[] = "autofill_entry|";
27 27
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 } 420 }
421 421
422 // static 422 // static
423 std::string AutocompleteSyncableService::KeyToTag(const std::string& name, 423 std::string AutocompleteSyncableService::KeyToTag(const std::string& name,
424 const std::string& value) { 424 const std::string& value) {
425 std::string prefix(kAutofillEntryNamespaceTag); 425 std::string prefix(kAutofillEntryNamespaceTag);
426 return prefix + net::EscapePath(name) + "|" + net::EscapePath(value); 426 return prefix + net::EscapePath(name) + "|" + net::EscapePath(value);
427 } 427 }
428 428
429 } // namespace autofill 429 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698