summaryrefslogtreecommitdiffstats
path: root/components/autofill/ios/browser/autofill_driver_ios_bridge.h
blob: 332c40eb74286127da24891bda061d5e0ec73658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_DRIVER_IOS_BRIDGE_H_
#define COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_DRIVER_IOS_BRIDGE_H_

#include <vector>

#include "base/basictypes.h"

namespace autofill {
struct FormData;
class FormStructure;
}

@protocol AutofillDriverIOSBridge

- (void)onFormDataFilled:(uint16)query_id
                  result:(const autofill::FormData&)result;

- (void)sendAutofillTypePredictionsToRenderer:
        (const std::vector<autofill::FormStructure*>&)forms;

@end

#endif  // COMPONENTS_AUTOFILL_IOS_BROWSER_AUTOFILL_DRIVER_IOS_BRIDGE_H_