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

Side by Side Diff: chrome/browser/history/android/bookmark_model_sql_handler.cc

Issue 10948045: introduce chrome/browser/common directory and move url_database(and its dependencies) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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/history/android/bookmark_model_sql_handler.h" 5 #include "chrome/browser/history/android/bookmark_model_sql_handler.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/api/bookmarks/bookmark_service.h" 8 #include "chrome/browser/api/bookmarks/bookmark_service.h"
9 #include "chrome/browser/bookmarks/bookmark_model.h" 9 #include "chrome/browser/bookmarks/bookmark_model.h"
10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
11 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/history/url_database.h" 12 #include "chrome/browser/common/url_database/url_database.h"
13 #include "chrome/browser/profiles/profile_manager.h" 13 #include "chrome/browser/profiles/profile_manager.h"
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 15
16 using base::Time; 16 using base::Time;
17 using content::BrowserThread; 17 using content::BrowserThread;
18 18
19 namespace history { 19 namespace history {
20 20
21 namespace { 21 namespace {
22 22
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind( 164 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, base::Bind(
165 &BookmarkModelSQLHandler::Task::AddBookmarkToMobileFolder, 165 &BookmarkModelSQLHandler::Task::AddBookmarkToMobileFolder,
166 scoped_refptr<BookmarkModelSQLHandler::Task>( 166 scoped_refptr<BookmarkModelSQLHandler::Task>(
167 new BookmarkModelSQLHandler::Task()), 167 new BookmarkModelSQLHandler::Task()),
168 row->url(), row->title())); 168 row->url(), row->title()));
169 } 169 }
170 return true; 170 return true;
171 } 171 }
172 172
173 } // namespace history. 173 } // namespace history.
OLDNEW
« no previous file with comments | « chrome/browser/history/android/android_history_types.h ('k') | chrome/browser/history/archived_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698