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

Side by Side Diff: third_party/libaddressinput/chromium/load_rules_delegate.h

Issue 298863012: Use upstream libaddressinput in Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on top of https://codereview.chromium.org/359213002/ Created 6 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_LOAD_RULES_DELEGATE_H_
6 #define THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_LOAD_RULES_DELEGATE_H_
7
8 #include <string>
9
10 namespace autofill {
11
12 // The object to be notified when loading of address validation rules is
13 // finished.
14 class LoadRulesDelegate {
Evan Stade 2014/06/30 18:49:38 nit: LoadRulesObserver or LoadRulesListener A "de
please use gerrit instead 2014/07/01 04:53:50 Done.
15 public:
16 virtual ~LoadRulesDelegate() {}
17
18 // Called when the validation rules for the |country_code| have been loaded.
19 // The validation rules include the generic rules for the |country_code| and
20 // specific rules for the country's administrative areas, localities, and
21 // dependent localities. If a country has language-specific validation rules,
22 // then these are also loaded.
23 //
24 // The |success| parameter is true when the rules were loaded successfully.
25 virtual void OnAddressValidationRulesLoaded(const std::string& country_code,
26 bool success) = 0;
27 };
28
29 } // namespace autofill
30
31 #endif // THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_LOAD_RULES_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698