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

Side by Side Diff: components/autofill/content/browser/request_autocomplete_manager.cc

Issue 108283005: Moved ipc-specific files from autofill/core to autofill/content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "Final" fix. Created 7 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
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 #include "components/autofill/content/browser/request_autocomplete_manager.h" 5 #include "components/autofill/content/browser/request_autocomplete_manager.h"
6 6
7 #include "components/autofill/content/browser/autofill_driver_impl.h" 7 #include "components/autofill/content/browser/autofill_driver_impl.h"
8 #include "components/autofill/content/common/autofill_messages.h"
8 #include "components/autofill/core/browser/form_structure.h" 9 #include "components/autofill/core/browser/form_structure.h"
9 #include "components/autofill/core/common/autofill_messages.h"
10 #include "components/autofill/core/common/form_data.h" 10 #include "components/autofill/core/common/form_data.h"
11 #include "content/public/browser/render_view_host.h" 11 #include "content/public/browser/render_view_host.h"
12 #include "content/public/browser/web_contents.h" 12 #include "content/public/browser/web_contents.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 namespace autofill { 15 namespace autofill {
16 16
17 RequestAutocompleteManager::RequestAutocompleteManager( 17 RequestAutocompleteManager::RequestAutocompleteManager(
18 AutofillDriverImpl* autofill_driver) 18 AutofillDriverImpl* autofill_driver)
19 : autofill_driver_(autofill_driver), 19 : autofill_driver_(autofill_driver),
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void RequestAutocompleteManager::ShowRequestAutocompleteDialog( 71 void RequestAutocompleteManager::ShowRequestAutocompleteDialog(
72 const FormData& form, 72 const FormData& form,
73 const GURL& source_url, 73 const GURL& source_url,
74 const base::Callback<void(const FormStructure*)>& callback) { 74 const base::Callback<void(const FormStructure*)>& callback) {
75 AutofillManagerDelegate* delegate = 75 AutofillManagerDelegate* delegate =
76 autofill_driver_->autofill_manager()->delegate(); 76 autofill_driver_->autofill_manager()->delegate();
77 delegate->ShowRequestAutocompleteDialog(form, source_url, callback); 77 delegate->ShowRequestAutocompleteDialog(form, source_url, callback);
78 } 78 }
79 79
80 } // namespace autofill 80 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698