| 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 CHROME_BROWSER_ANDROID_CHROME_SERVICE_TAB_LAUNCHER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_CHROME_SERVICE_TAB_LAUNCHER_H_ | 6 #define CHROME_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/macros.h" |
| 12 #include "base/memory/singleton.h" | 12 #include "base/memory/singleton.h" |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 class BrowserContext; | 15 class BrowserContext; |
| 16 struct OpenURLParams; | 16 struct OpenURLParams; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 46 friend struct base::DefaultSingletonTraits<ServiceTabLauncher>; | 46 friend struct base::DefaultSingletonTraits<ServiceTabLauncher>; |
| 47 | 47 |
| 48 ServiceTabLauncher(); | 48 ServiceTabLauncher(); |
| 49 ~ServiceTabLauncher(); | 49 ~ServiceTabLauncher(); |
| 50 | 50 |
| 51 IDMap<std::unique_ptr<TabLaunchedCallback>> tab_launched_callbacks_; | 51 IDMap<std::unique_ptr<TabLaunchedCallback>> tab_launched_callbacks_; |
| 52 | 52 |
| 53 DISALLOW_COPY_AND_ASSIGN(ServiceTabLauncher); | 53 DISALLOW_COPY_AND_ASSIGN(ServiceTabLauncher); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 #endif // CHROME_BROWSER_ANDROID_CHROME_SERVICE_TAB_LAUNCHER_H_ | 56 #endif // CHROME_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_ |
| OLD | NEW |