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

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

Issue 584013002: Componentize history_types.{cc,h} and android_history_types.{cc,h} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 "chrome/browser/history/android/android_history_types.h" 11 #include "components/history/core/android/android_history_types.h"
12 #include "sql/statement.h" 12 #include "sql/statement.h"
13 13
14 class Profile; 14 class Profile;
15 15
16 // This class provides the methods to communicate with history backend service 16 // This class provides the methods to communicate with history backend service
17 // for the Android content provider. 17 // for the Android content provider.
18 // The methods of this class must run on the UI thread to cooperate with the 18 // The methods of this class must run on the UI thread to cooperate with the
19 // BookmarkModel task posted in the DB thread. 19 // BookmarkModel task posted in the DB thread.
20 class AndroidHistoryProviderService { 20 class AndroidHistoryProviderService {
21 public: 21 public:
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 const QueryCallback& callback, 167 const QueryCallback& callback,
168 base::CancelableTaskTracker* tracker); 168 base::CancelableTaskTracker* tracker);
169 169
170 private: 170 private:
171 Profile* profile_; 171 Profile* profile_;
172 172
173 DISALLOW_COPY_AND_ASSIGN(AndroidHistoryProviderService); 173 DISALLOW_COPY_AND_ASSIGN(AndroidHistoryProviderService);
174 }; 174 };
175 175
176 #endif // CHROME_BROWSER_HISTORY_ANDROID_ANDROID_HISTORY_PROVIDER_SERVICE_H_ 176 #endif // CHROME_BROWSER_HISTORY_ANDROID_ANDROID_HISTORY_PROVIDER_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698