OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_SERVICE_TAB_LAUNCHER_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_ | 5 #ifndef COMPONENTS_SERVICE_TAB_LAUNCHER_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_ |
6 #define COMPONENTS_SERVICE_TAB_LAUNCHER_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_ | 6 #define COMPONENTS_SERVICE_TAB_LAUNCHER_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_ |
7 | 7 |
8 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
9 #include "base/callback_forward.h" | 9 #include "base/callback_forward.h" |
10 #include "base/id_map.h" | 10 #include "base/id_map.h" |
| 11 #include "base/macros.h" |
11 #include "base/memory/singleton.h" | 12 #include "base/memory/singleton.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 class BrowserContext; | 15 class BrowserContext; |
15 struct OpenURLParams; | 16 struct OpenURLParams; |
16 class WebContents; | 17 class WebContents; |
17 } | 18 } |
18 | 19 |
19 namespace service_tab_launcher { | 20 namespace service_tab_launcher { |
20 | 21 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 IDMap<TabLaunchedCallback> tab_launched_callbacks_; | 53 IDMap<TabLaunchedCallback> tab_launched_callbacks_; |
53 | 54 |
54 base::android::ScopedJavaGlobalRef<jobject> java_object_; | 55 base::android::ScopedJavaGlobalRef<jobject> java_object_; |
55 | 56 |
56 DISALLOW_COPY_AND_ASSIGN(ServiceTabLauncher); | 57 DISALLOW_COPY_AND_ASSIGN(ServiceTabLauncher); |
57 }; | 58 }; |
58 | 59 |
59 } // namespace service_tab_launcher | 60 } // namespace service_tab_launcher |
60 | 61 |
61 #endif // COMPONENTS_SERVICE_TAB_LAUNCHER_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_
H_ | 62 #endif // COMPONENTS_SERVICE_TAB_LAUNCHER_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_
H_ |
OLD | NEW |