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

Side by Side Diff: chrome/browser/webdata/web_data_service.h

Issue 11493003: Remove the protector service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix implicit ExtensionSystem -> TemplateURLService dependency Created 8 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 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 // Chromium settings and storage represent user-selected preferences and 5 // Chromium settings and storage represent user-selected preferences and
6 // information and MUST not be extracted, overwritten or modified except 6 // information and MUST not be extracted, overwritten or modified except
7 // through Chromium defined APIs. 7 // through Chromium defined APIs.
8 8
9 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ 9 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__
10 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ 10 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 struct WDKeywordsResult { 83 struct WDKeywordsResult {
84 WDKeywordsResult(); 84 WDKeywordsResult();
85 ~WDKeywordsResult(); 85 ~WDKeywordsResult();
86 86
87 KeywordTable::Keywords keywords; 87 KeywordTable::Keywords keywords;
88 // Identifies the ID of the TemplateURL that is the default search. A value of 88 // Identifies the ID of the TemplateURL that is the default search. A value of
89 // 0 indicates there is no default search provider. 89 // 0 indicates there is no default search provider.
90 int64 default_search_provider_id; 90 int64 default_search_provider_id;
91 // Version of the built-in keywords. A value of 0 indicates a first run. 91 // Version of the built-in keywords. A value of 0 indicates a first run.
92 int builtin_keyword_version; 92 int builtin_keyword_version;
93 // Backup of the default search provider, and whether the backup is valid.
94 bool backup_valid;
95 TemplateURLData default_search_provider_backup;
96 // Indicates if default search provider has been changed by something
97 // other than user's action in the browser.
98 bool did_default_search_provider_change;
99 }; 93 };
100 94
101 class WebDataServiceConsumer; 95 class WebDataServiceConsumer;
102 96
103 class WebDataService 97 class WebDataService
104 : public WebDataServiceBase, 98 : public WebDataServiceBase,
105 public AutofillWebData, 99 public AutofillWebData,
106 public RefcountedProfileKeyedService { 100 public RefcountedProfileKeyedService {
107 public: 101 public:
108 ////////////////////////////////////////////////////////////////////////////// 102 //////////////////////////////////////////////////////////////////////////////
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 typedef std::map<Handle, WebDataRequest*> RequestMap; 598 typedef std::map<Handle, WebDataRequest*> RequestMap;
605 RequestMap pending_requests_; 599 RequestMap pending_requests_;
606 600
607 // MessageLoop the WebDataService is created on. 601 // MessageLoop the WebDataService is created on.
608 MessageLoop* main_loop_; 602 MessageLoop* main_loop_;
609 603
610 DISALLOW_COPY_AND_ASSIGN(WebDataService); 604 DISALLOW_COPY_AND_ASSIGN(WebDataService);
611 }; 605 };
612 606
613 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ 607 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__
OLDNEW
« no previous file with comments | « chrome/browser/webdata/keyword_table_unittest.cc ('k') | chrome/browser/webdata/web_data_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698