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

Side by Side Diff: chrome/browser/history/android/android_history_provider_service.h

Issue 849323002: Componentize HistoryDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compilation Created 5 years, 11 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
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 #ifndef CHROME_BROWSER_HISTORY_ANDROID_ANDROID_HISTORY_PROVIDER_SERVICE_H_ 5 #ifndef CHROME_BROWSER_HISTORY_ANDROID_ANDROID_HISTORY_PROVIDER_SERVICE_H_
6 #define CHROME_BROWSER_HISTORY_ANDROID_ANDROID_HISTORY_PROVIDER_SERVICE_H_ 6 #define CHROME_BROWSER_HISTORY_ANDROID_ANDROID_HISTORY_PROVIDER_SERVICE_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/task/cancelable_task_tracker.h" 10 #include "base/task/cancelable_task_tracker.h"
11 #include "components/favicon_base/favicon_callback.h" 11 #include "components/favicon_base/favicon_callback.h"
12 #include "components/history/core/android/android_history_types.h" 12 #include "components/history/core/browser/android/android_history_types.h"
13 #include "sql/statement.h" 13 #include "sql/statement.h"
14 14
15 class Profile; 15 class Profile;
16 16
17 // This class provides the methods to communicate with history backend service 17 // This class provides the methods to communicate with history backend service
18 // for the Android content provider. 18 // for the Android content provider.
19 // The methods of this class must run on the UI thread to cooperate with the 19 // The methods of this class must run on the UI thread to cooperate with the
20 // BookmarkModel task posted in the DB thread. 20 // BookmarkModel task posted in the DB thread.
21 class AndroidHistoryProviderService { 21 class AndroidHistoryProviderService {
22 public: 22 public:
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 const favicon_base::FaviconRawBitmapCallback& callback, 175 const favicon_base::FaviconRawBitmapCallback& callback,
176 base::CancelableTaskTracker* tracker); 176 base::CancelableTaskTracker* tracker);
177 177
178 private: 178 private:
179 Profile* profile_; 179 Profile* profile_;
180 180
181 DISALLOW_COPY_AND_ASSIGN(AndroidHistoryProviderService); 181 DISALLOW_COPY_AND_ASSIGN(AndroidHistoryProviderService);
182 }; 182 };
183 183
184 #endif // CHROME_BROWSER_HISTORY_ANDROID_ANDROID_HISTORY_PROVIDER_SERVICE_H_ 184 #endif // CHROME_BROWSER_HISTORY_ANDROID_ANDROID_HISTORY_PROVIDER_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698