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

Side by Side Diff: chrome/browser/webdata/web_data_service_base.cc

Issue 12770011: Remove a few chrome dependencies of c/b/webdata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win compiling Created 7 years, 9 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 "chrome/browser/api/webdata/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/profiles/profile.h"
12 #include "chrome/browser/webdata/web_database_service.h" 11 #include "chrome/browser/webdata/web_database_service.h"
13 #include "chrome/common/chrome_constants.h"
14 #include "chrome/common/chrome_notification_types.h" 12 #include "chrome/common/chrome_notification_types.h"
15 #ifdef DEBUG 13 #ifdef DEBUG
16 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
17 #endif 15 #endif
18 #include "content/public/browser/notification_details.h" 16 #include "content/public/browser/notification_details.h"
19 #include "content/public/browser/notification_service.h" 17 #include "content/public/browser/notification_service.h"
20 #include "content/public/browser/notification_source.h" 18 #include "content/public/browser/notification_source.h"
21 19
22 //////////////////////////////////////////////////////////////////////////////// 20 ////////////////////////////////////////////////////////////////////////////////
23 // 21 //
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 BrowserThread::PostTask( 124 BrowserThread::PostTask(
127 BrowserThread::UI, FROM_HERE, 125 BrowserThread::UI, FROM_HERE,
128 base::Bind(&WebDataServiceBase::NotifyDatabaseLoadedOnUIThread, this)); 126 base::Bind(&WebDataServiceBase::NotifyDatabaseLoadedOnUIThread, this));
129 } else { 127 } else {
130 BrowserThread::PostTask( 128 BrowserThread::PostTask(
131 BrowserThread::UI, FROM_HERE, 129 BrowserThread::UI, FROM_HERE,
132 base::Bind(&WebDataServiceBase::DBInitFailed, this, status)); 130 base::Bind(&WebDataServiceBase::DBInitFailed, this, status));
133 } 131 }
134 } 132 }
135 133
OLDNEW
« no previous file with comments | « chrome/browser/webdata/web_apps_table_unittest.cc ('k') | chrome/browser/webdata/web_data_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698