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

Unified Diff: chrome/browser/webdata/web_data_service.h

Issue 14419: Porting in browser/webdata and template_url. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/template_url_parser_unittest.cc ('k') | chrome/browser/webdata/web_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_data_service.h
===================================================================
--- chrome/browser/webdata/web_data_service.h (revision 6978)
+++ chrome/browser/webdata/web_data_service.h (working copy)
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__
#define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__
+#include <map>
+
#include "base/basictypes.h"
#include "base/lock.h"
#include "base/message_loop.h"
@@ -12,12 +14,10 @@
#include "base/thread.h"
#include "chrome/browser/webdata/web_database.h"
#include "chrome/common/scoped_vector.h"
-#include <map>
+#include "webkit/glue/autofill_form.h"
-struct AutofillForm::Element;
struct IE7PasswordInfo;
struct PasswordForm;
-class AutofillForm;
class GURL;
class ShutdownTask;
class TemplateURL;
@@ -383,7 +383,7 @@
friend class WebDataRequest;
// This is invoked by the unit test; path is the path of the Web Data file.
- bool WebDataService::InitWithPath(const std::wstring& path);
+ bool InitWithPath(const std::wstring& path);
// Invoked by request implementations when a request has been processed.
void RequestCompleted(Handle h);
@@ -400,13 +400,13 @@
friend class ShutdownTask;
typedef GenericRequest2<std::vector<const TemplateURL*>,
- std::vector<TemplateURL*>> SetKeywordsRequest;
+ std::vector<TemplateURL*> > SetKeywordsRequest;
// Initialize the database with the provided path.
void InitializeDatabase(const std::wstring& path);
// Commit any pending transaction and deletes the database.
- void WebDataService::ShutdownDatabase();
+ void ShutdownDatabase();
// Commit the current transaction and creates a new one.
void Commit();
« no previous file with comments | « chrome/browser/template_url_parser_unittest.cc ('k') | chrome/browser/webdata/web_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698