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

Side by Side Diff: components/webdata/common/web_database_service.cc

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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/webdata/web_database_service.h" 5 #include "components/webdata/common/web_database_service.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "chrome/browser/api/webdata/web_data_results.h" 10 #include "components/webdata/common/web_data_request_manager.h"
11 #include "chrome/browser/api/webdata/web_data_service_consumer.h" 11 #include "components/webdata/common/web_data_results.h"
12 #include "chrome/browser/webdata/web_data_request_manager.h" 12 #include "components/webdata/common/web_data_service_consumer.h"
13 13
14 using base::Bind; 14 using base::Bind;
15 using base::FilePath; 15 using base::FilePath;
16 using content::BrowserThread; 16 using content::BrowserThread;
17 17
18 18
19 //////////////////////////////////////////////////////////////////////////////// 19 ////////////////////////////////////////////////////////////////////////////////
20 // 20 //
21 // WebDataServiceBackend implementation. 21 // WebDataServiceBackend implementation.
22 // 22 //
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 task, base::Passed(&request))); 278 task, base::Passed(&request)));
279 279
280 return handle; 280 return handle;
281 } 281 }
282 282
283 void WebDatabaseService::CancelRequest(WebDataServiceBase::Handle h) { 283 void WebDatabaseService::CancelRequest(WebDataServiceBase::Handle h) {
284 if (!wds_backend_) 284 if (!wds_backend_)
285 return; 285 return;
286 wds_backend_->request_manager()->CancelRequest(h); 286 wds_backend_->request_manager()->CancelRequest(h);
287 } 287 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698