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

Side by Side Diff: components/autofill/core/browser/autofill-inl.h

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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 | Annotate | Revision Log
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 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_INL_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_INL_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_INL_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_INL_H_
7 7
8 namespace autofill { 8 namespace autofill {
9 9
10 template<typename T> 10 template<typename T>
11 class FormGroupMatchesByCompareFunctor { 11 class FormGroupMatchesByCompareFunctor {
12 public: 12 public:
13 explicit FormGroupMatchesByCompareFunctor(const T& form_group) 13 explicit FormGroupMatchesByCompareFunctor(const T& form_group)
14 : form_group_(form_group) { 14 : form_group_(form_group) {
15 } 15 }
16 16
(...skipping 12 matching lines...) Expand all
29 template<typename C, typename T> 29 template<typename C, typename T>
30 bool FindByContents(const C& container, const T& form_group) { 30 bool FindByContents(const C& container, const T& form_group) {
31 return std::find_if( 31 return std::find_if(
32 container.begin(), 32 container.begin(),
33 container.end(), 33 container.end(),
34 FormGroupMatchesByCompareFunctor<T>(form_group)) != container.end(); 34 FormGroupMatchesByCompareFunctor<T>(form_group)) != container.end();
35 } 35 }
36 36
37 } // namespace autofill 37 } // namespace autofill
38 38
39 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_INL_H_ 39 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_INL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698