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

Unified Diff: components/service_tab_launcher/browser/android/service_tab_launcher.h

Issue 1057533005: Make service tab launcher a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/service_tab_launcher/browser/android/service_tab_launcher.h
diff --git a/chrome/browser/android/service_tab_launcher.h b/components/service_tab_launcher/browser/android/service_tab_launcher.h
similarity index 86%
rename from chrome/browser/android/service_tab_launcher.h
rename to components/service_tab_launcher/browser/android/service_tab_launcher.h
index 2906ceb16bd95a3c47dd8ab88c80f718cfa2090a..87beb7586b3a4e1932aff9e9ddea3ad61d5aeee2 100644
--- a/chrome/browser/android/service_tab_launcher.h
+++ b/components/service_tab_launcher/browser/android/service_tab_launcher.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_
-#define CHROME_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_
+#ifndef COMPONENTS_SERVICE_TAB_LAUNCHER_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_
+#define COMPONENTS_SERVICE_TAB_LAUNCHER_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_
#include "base/android/jni_android.h"
#include "base/callback_forward.h"
@@ -16,8 +16,7 @@ struct OpenURLParams;
class WebContents;
}
-namespace chrome {
-namespace android {
+namespace service_tab_launcher {
// Launcher for creating new tabs on Android from a background service, where
// there may not necessarily be an Activity or a tab model at all. When the
@@ -57,7 +56,6 @@ class ServiceTabLauncher {
DISALLOW_COPY_AND_ASSIGN(ServiceTabLauncher);
};
-} // namespace android
-} // namespace chrome
+} // namespace service_tab_launcher
-#endif // CHROME_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_
+#endif // COMPONENTS_SERVICE_TAB_LAUNCHER_BROWSER_ANDROID_SERVICE_TAB_LAUNCHER_H_

Powered by Google App Engine
This is Rietveld 408576698