summaryrefslogtreecommitdiffstats
path: root/chrome/browser/api/webdata/autofill_web_data_service.h
blob: ee39ad72d3fd63234983ec00ba6fafa7cbcbe5db (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
28
// Copyright (c) 2012 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 CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_H_
#define CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_H_

#include "chrome/browser/api/webdata/autofill_web_data.h"

namespace content {
class BrowserContext;
}

// API for Autofill web data.
class AutofillWebDataService
    : public AutofillWebData,
      public WebDataServiceBase {
 public:
  // Retrieve an AutofillWebDataService for the given context.
  //
  // Can return NULL in some contexts.
  static scoped_ptr<AutofillWebDataService> FromBrowserContext(
      content::BrowserContext* context);

  virtual ~AutofillWebDataService() {}
};

#endif  // CHROME_BROWSER_API_WEBDATA_AUTOFILL_WEB_DATA_SERVICE_H_