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

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

Issue 13392014: Move c/b/webdata/ code to components/webdata/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pure merge Created 7 years, 8 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 | Annotate | Revision Log
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 CHROME_BROWSER_WEBDATA_WEB_DATA_REQUEST_MANAGER_H__ 9 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATA_REQUEST_MANAGER_H__
10 #define CHROME_BROWSER_WEBDATA_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 "chrome/browser/api/webdata/web_data_results.h" 16 #include "components/webdata/common/web_data_results.h"
17 #include "chrome/browser/api/webdata/web_data_service_base.h" 17 #include "components/webdata/common/web_data_service_base.h"
18 #include "chrome/browser/api/webdata/web_data_service_consumer.h" 18 #include "components/webdata/common/web_data_service_consumer.h"
19 19
20 class WebDataService; 20 class WebDataService;
21 class WebDataServiceConsumer; 21 class WebDataServiceConsumer;
22 class WebDataRequestManager; 22 class WebDataRequestManager;
23 23
24 namespace base { 24 namespace base {
25 class MessageLoop; 25 class MessageLoop;
26 } 26 }
27 27
28 ////////////////////////////////////////////////////////////////////////////// 28 //////////////////////////////////////////////////////////////////////////////
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // Next handle to be used for requests. Incremented for each use. 128 // Next handle to be used for requests. Incremented for each use.
129 WebDataServiceBase::Handle next_request_handle_; 129 WebDataServiceBase::Handle next_request_handle_;
130 130
131 typedef std::map<WebDataServiceBase::Handle, WebDataRequest*> RequestMap; 131 typedef std::map<WebDataServiceBase::Handle, WebDataRequest*> RequestMap;
132 RequestMap pending_requests_; 132 RequestMap pending_requests_;
133 133
134 DISALLOW_COPY_AND_ASSIGN(WebDataRequestManager); 134 DISALLOW_COPY_AND_ASSIGN(WebDataRequestManager);
135 }; 135 };
136 136
137 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_REQUEST_MANAGER_H__ 137 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATA_REQUEST_MANAGER_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698