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

Side by Side Diff: components/password_manager/core/browser/webdata/logins_table.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/password_manager/core/browser/webdata/logins_table.h" 5 #include "components/password_manager/core/browser/webdata/logins_table.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "build/build_config.h"
10 #include "components/webdata/common/web_database.h" 11 #include "components/webdata/common/web_database.h"
11 #include "sql/statement.h" 12 #include "sql/statement.h"
12 13
13 namespace { 14 namespace {
14 15
15 WebDatabaseTable::TypeKey GetKey() { 16 WebDatabaseTable::TypeKey GetKey() {
16 // We just need a unique constant. Use the address of a static that 17 // We just need a unique constant. Use the address of a static that
17 // COMDAT folding won't touch in an optimizing linker. 18 // COMDAT folding won't touch in an optimizing linker.
18 static int table_key = 0; 19 static int table_key = 0;
19 return reinterpret_cast<void*>(&table_key); 20 return reinterpret_cast<void*>(&table_key);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 60 }
60 61
61 bool LoginsTable::IsSyncable() { 62 bool LoginsTable::IsSyncable() {
62 return true; 63 return true;
63 } 64 }
64 65
65 bool LoginsTable::MigrateToVersion(int version, 66 bool LoginsTable::MigrateToVersion(int version,
66 bool* update_compatible_version) { 67 bool* update_compatible_version) {
67 return true; 68 return true;
68 } 69 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698