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

Side by Side Diff: components/webdata/common/web_data_request_manager.h

Issue 16174013: Remove dependency of WebData on content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 7 years, 6 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
« no previous file with comments | « components/webdata/DEPS ('k') | components/webdata/common/web_data_service_backend.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 COMPONENTS_WEBDATA_COMMON_WEB_DATA_REQUEST_MANAGER_H__ 9 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATA_REQUEST_MANAGER_H__
10 #define COMPONENTS_WEBDATA_COMMON_WEB_DATA_REQUEST_MANAGER_H__ 10 #define COMPONENTS_WEBDATA_COMMON_WEB_DATA_REQUEST_MANAGER_H__
11 11
12 #include <map> 12 #include <map>
13 13
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
16 #include "components/webdata/common/web_database_service.h"
16 #include "components/webdata/common/web_data_results.h" 17 #include "components/webdata/common/web_data_results.h"
17 #include "components/webdata/common/web_data_service_base.h" 18 #include "components/webdata/common/web_data_service_base.h"
18 #include "components/webdata/common/web_data_service_consumer.h" 19 #include "components/webdata/common/web_data_service_consumer.h"
19 20
20 class WebDataService; 21 class WebDataService;
21 class WebDataServiceConsumer; 22 class WebDataServiceConsumer;
22 class WebDataRequestManager; 23 class WebDataRequestManager;
23 24
24 namespace base { 25 namespace base {
25 class MessageLoop; 26 class MessageLoop;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // Next handle to be used for requests. Incremented for each use. 129 // Next handle to be used for requests. Incremented for each use.
129 WebDataServiceBase::Handle next_request_handle_; 130 WebDataServiceBase::Handle next_request_handle_;
130 131
131 typedef std::map<WebDataServiceBase::Handle, WebDataRequest*> RequestMap; 132 typedef std::map<WebDataServiceBase::Handle, WebDataRequest*> RequestMap;
132 RequestMap pending_requests_; 133 RequestMap pending_requests_;
133 134
134 DISALLOW_COPY_AND_ASSIGN(WebDataRequestManager); 135 DISALLOW_COPY_AND_ASSIGN(WebDataRequestManager);
135 }; 136 };
136 137
137 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_REQUEST_MANAGER_H__ 138 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_REQUEST_MANAGER_H__
OLDNEW
« no previous file with comments | « components/webdata/DEPS ('k') | components/webdata/common/web_data_service_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698