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

Side by Side Diff: components/autofill/core/browser/webdata/autofill_table.h

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Added in version 50. 126 // Added in version 50.
127 // 127 //
128 class AutofillTable : public WebDatabaseTable { 128 class AutofillTable : public WebDatabaseTable {
129 public: 129 public:
130 explicit AutofillTable(const std::string& app_locale); 130 explicit AutofillTable(const std::string& app_locale);
131 virtual ~AutofillTable(); 131 virtual ~AutofillTable();
132 132
133 // Retrieves the AutofillTable* owned by |database|. 133 // Retrieves the AutofillTable* owned by |database|.
134 static AutofillTable* FromWebDatabase(WebDatabase* db); 134 static AutofillTable* FromWebDatabase(WebDatabase* db);
135 135
136 virtual WebDatabaseTable::TypeKey GetTypeKey() const OVERRIDE; 136 virtual WebDatabaseTable::TypeKey GetTypeKey() const override;
137 virtual bool CreateTablesIfNecessary() OVERRIDE; 137 virtual bool CreateTablesIfNecessary() override;
138 virtual bool IsSyncable() OVERRIDE; 138 virtual bool IsSyncable() override;
139 virtual bool MigrateToVersion(int version, 139 virtual bool MigrateToVersion(int version,
140 bool* update_compatible_version) OVERRIDE; 140 bool* update_compatible_version) override;
141 141
142 // Records the form elements in |elements| in the database in the 142 // Records the form elements in |elements| in the database in the
143 // autofill table. A list of all added and updated autofill entries 143 // autofill table. A list of all added and updated autofill entries
144 // is returned in the changes out parameter. 144 // is returned in the changes out parameter.
145 bool AddFormFieldValues(const std::vector<FormFieldData>& elements, 145 bool AddFormFieldValues(const std::vector<FormFieldData>& elements,
146 std::vector<AutofillChange>* changes); 146 std::vector<AutofillChange>* changes);
147 147
148 // Records a single form element in the database in the autofill table. A list 148 // Records a single form element in the database in the autofill table. A list
149 // of all added and updated autofill entries is returned in the changes out 149 // of all added and updated autofill entries is returned in the changes out
150 // parameter. 150 // parameter.
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 // created (on the UI thread), and cached here so that it can be used for 359 // created (on the UI thread), and cached here so that it can be used for
360 // migrations (on the DB thread). 360 // migrations (on the DB thread).
361 std::string app_locale_; 361 std::string app_locale_;
362 362
363 DISALLOW_COPY_AND_ASSIGN(AutofillTable); 363 DISALLOW_COPY_AND_ASSIGN(AutofillTable);
364 }; 364 };
365 365
366 } // namespace autofill 366 } // namespace autofill
367 367
368 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_ 368 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_TABLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698