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

Unified Diff: components/sad_tab/sad_tab_types.h

Issue 543663002: Componentize sad_tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN Created 6 years, 3 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/sad_tab/sad_tab_types.h
diff --git a/chrome/browser/ui/sad_tab_types.h b/components/sad_tab/sad_tab_types.h
similarity index 73%
rename from chrome/browser/ui/sad_tab_types.h
rename to components/sad_tab/sad_tab_types.h
index d3ecde96b7a6076083266f1118fd53c6b19f062b..9acf4603200f92a41b19bf2ef3d519a06403288e 100644
--- a/chrome/browser/ui/sad_tab_types.h
+++ b/components/sad_tab/sad_tab_types.h
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_SAD_TAB_TYPES_H_
-#define CHROME_BROWSER_UI_SAD_TAB_TYPES_H_
+#ifndef COMPONENTS_SAD_TAB_SAD_TAB_TYPES_H_
+#define COMPONENTS_SAD_TAB_SAD_TAB_TYPES_H_
-namespace chrome {
+namespace sad_tab {
// NOTE: Do not remove or reorder the elements in this enum, and only add new
// items at the end. We depend on these specific values in a histogram.
@@ -14,6 +14,6 @@ enum SadTabKind {
SAD_TAB_KIND_KILLED // Tab killed. Display the "He's dead, Jim!" tab page.
};
-} // namespace chrome
+} // namespace sad_tab
-#endif // CHROME_BROWSER_UI_SAD_TAB_TYPES_H_
+#endif // COMPONENTS_SAD_TAB_SAD_TAB_TYPES_H_

Powered by Google App Engine
This is Rietveld 408576698