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

Side by Side Diff: chrome/browser/android/recently_closed_tabs_bridge.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_ANDROID_RECENTLY_CLOSED_TABS_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_ANDROID_RECENTLY_CLOSED_TABS_BRIDGE_H_
6 #define CHROME_BROWSER_ANDROID_RECENTLY_CLOSED_TABS_BRIDGE_H_ 6 #define CHROME_BROWSER_ANDROID_RECENTLY_CLOSED_TABS_BRIDGE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h"
12 #include "components/sessions/core/tab_restore_service_observer.h" 13 #include "components/sessions/core/tab_restore_service_observer.h"
13 14
14 class Profile; 15 class Profile;
15 16
16 // Provides the list of recently closed tabs to Java. 17 // Provides the list of recently closed tabs to Java.
17 class RecentlyClosedTabsBridge : public sessions::TabRestoreServiceObserver { 18 class RecentlyClosedTabsBridge : public sessions::TabRestoreServiceObserver {
18 public: 19 public:
19 explicit RecentlyClosedTabsBridge(Profile* profile); 20 explicit RecentlyClosedTabsBridge(Profile* profile);
20 21
21 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj); 22 void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // The profile whose recently closed tabs are being monitored. 62 // The profile whose recently closed tabs are being monitored.
62 Profile* profile_; 63 Profile* profile_;
63 64
64 // TabRestoreService that we are observing. 65 // TabRestoreService that we are observing.
65 sessions::TabRestoreService* tab_restore_service_; 66 sessions::TabRestoreService* tab_restore_service_;
66 67
67 DISALLOW_COPY_AND_ASSIGN(RecentlyClosedTabsBridge); 68 DISALLOW_COPY_AND_ASSIGN(RecentlyClosedTabsBridge);
68 }; 69 };
69 70
70 #endif // CHROME_BROWSER_ANDROID_RECENTLY_CLOSED_TABS_BRIDGE_H_ 71 #endif // CHROME_BROWSER_ANDROID_RECENTLY_CLOSED_TABS_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/provider/chrome_browser_provider.cc ('k') | chrome/browser/android/seccomp_support_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698