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

Side by Side Diff: android_webview/browser/aw_form_database_service.h

Issue 623833003: replace OVERRIDE and FINAL with override and final in android_webview/ (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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 ANDROID_WEBVIEW_BROWSER_AW_FORM_DATABASE_SERVICE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_FORM_DATABASE_SERVICE_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_FORM_DATABASE_SERVICE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_FORM_DATABASE_SERVICE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 10 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
(...skipping 24 matching lines...) Expand all
35 35
36 // Clear any saved form data. Executes asynchronously. 36 // Clear any saved form data. Executes asynchronously.
37 void ClearFormData(); 37 void ClearFormData();
38 38
39 scoped_refptr<autofill::AutofillWebDataService> 39 scoped_refptr<autofill::AutofillWebDataService>
40 get_autofill_webdata_service(); 40 get_autofill_webdata_service();
41 41
42 // WebDataServiceConsumer implementation. 42 // WebDataServiceConsumer implementation.
43 virtual void OnWebDataServiceRequestDone( 43 virtual void OnWebDataServiceRequestDone(
44 WebDataServiceBase::Handle h, 44 WebDataServiceBase::Handle h,
45 const WDTypedResult* result) OVERRIDE; 45 const WDTypedResult* result) override;
46 46
47 private: 47 private:
48 struct PendingQuery { 48 struct PendingQuery {
49 bool* result; 49 bool* result;
50 base::WaitableEvent* completion; 50 base::WaitableEvent* completion;
51 }; 51 };
52 typedef std::map<WebDataServiceBase::Handle, PendingQuery> QueryMap; 52 typedef std::map<WebDataServiceBase::Handle, PendingQuery> QueryMap;
53 53
54 void ClearFormDataImpl(); 54 void ClearFormDataImpl();
55 void HasFormDataImpl(base::WaitableEvent* completion, bool* result); 55 void HasFormDataImpl(base::WaitableEvent* completion, bool* result);
56 56
57 QueryMap result_map_; 57 QueryMap result_map_;
58 58
59 scoped_refptr<autofill::AutofillWebDataService> autofill_data_; 59 scoped_refptr<autofill::AutofillWebDataService> autofill_data_;
60 scoped_refptr<WebDatabaseService> web_database_; 60 scoped_refptr<WebDatabaseService> web_database_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(AwFormDatabaseService); 62 DISALLOW_COPY_AND_ASSIGN(AwFormDatabaseService);
63 }; 63 };
64 64
65 } // namespace android_webview 65 } // namespace android_webview
66 66
67 #endif // ANDROID_WEBVIEW_BROWSER_AW_FORM_DATABASE_SERVICE_H_ 67 #endif // ANDROID_WEBVIEW_BROWSER_AW_FORM_DATABASE_SERVICE_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_download_manager_delegate.h ('k') | android_webview/browser/aw_gl_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698