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

Side by Side Diff: components/webdata/common/web_data_service_base.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 (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 #include "chrome/browser/api/webdata/web_data_service_base.h" 5 #include "components/webdata/common/web_data_service_base.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
11 #include "chrome/browser/webdata/web_database_service.h" 11 #include "components/webdata/common/web_database_service.h"
12 #ifdef DEBUG 12 #ifdef DEBUG
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 #endif 14 #endif
15 15
16 //////////////////////////////////////////////////////////////////////////////// 16 ////////////////////////////////////////////////////////////////////////////////
17 // 17 //
18 // WebDataServiceBase implementation. 18 // WebDataServiceBase implementation.
19 // 19 //
20 //////////////////////////////////////////////////////////////////////////////// 20 ////////////////////////////////////////////////////////////////////////////////
21 21
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 if (status == sql::INIT_OK) { 112 if (status == sql::INIT_OK) {
113 BrowserThread::PostTask( 113 BrowserThread::PostTask(
114 BrowserThread::UI, FROM_HERE, 114 BrowserThread::UI, FROM_HERE,
115 base::Bind(&WebDataServiceBase::DBInitSucceeded, this)); 115 base::Bind(&WebDataServiceBase::DBInitSucceeded, this));
116 } else { 116 } else {
117 BrowserThread::PostTask( 117 BrowserThread::PostTask(
118 BrowserThread::UI, FROM_HERE, 118 BrowserThread::UI, FROM_HERE,
119 base::Bind(&WebDataServiceBase::DBInitFailed, this, status)); 119 base::Bind(&WebDataServiceBase::DBInitFailed, this, status));
120 } 120 }
121 } 121 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698