| OLD | NEW |
| 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_FOREIGN_SESSION_HELPER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_FOREIGN_SESSION_HELPER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_FOREIGN_SESSION_HELPER_H_ | 6 #define CHROME_BROWSER_ANDROID_FOREIGN_SESSION_HELPER_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/macros.h" |
| 11 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
| 12 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
| 13 #include "components/sync_driver/sync_service_observer.h" | 14 #include "components/sync_driver/sync_service_observer.h" |
| 14 | 15 |
| 15 using base::android::ScopedJavaLocalRef; | 16 using base::android::ScopedJavaLocalRef; |
| 16 | 17 |
| 17 struct SessionWindow; | 18 struct SessionWindow; |
| 18 | 19 |
| 19 namespace browser_sync { | 20 namespace browser_sync { |
| 20 struct SyncedSession; | 21 struct SyncedSession; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 68 |
| 68 Profile* profile_; // weak | 69 Profile* profile_; // weak |
| 69 base::android::ScopedJavaGlobalRef<jobject> callback_; | 70 base::android::ScopedJavaGlobalRef<jobject> callback_; |
| 70 ScopedObserver<sync_driver::SyncService, sync_driver::SyncServiceObserver> | 71 ScopedObserver<sync_driver::SyncService, sync_driver::SyncServiceObserver> |
| 71 scoped_observer_; | 72 scoped_observer_; |
| 72 | 73 |
| 73 DISALLOW_COPY_AND_ASSIGN(ForeignSessionHelper); | 74 DISALLOW_COPY_AND_ASSIGN(ForeignSessionHelper); |
| 74 }; | 75 }; |
| 75 | 76 |
| 76 #endif // CHROME_BROWSER_ANDROID_FOREIGN_SESSION_HELPER_H_ | 77 #endif // CHROME_BROWSER_ANDROID_FOREIGN_SESSION_HELPER_H_ |
| OLD | NEW |