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

Unified Diff: components/sad_tab/sad_tab.cc

Issue 543663002: Componentize sad_tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.cc
diff --git a/chrome/browser/ui/sad_tab.cc b/components/sad_tab/sad_tab.cc
similarity index 83%
rename from chrome/browser/ui/sad_tab.cc
rename to components/sad_tab/sad_tab.cc
index 38814555a592f4a469ddebd2acc72b450f710a4f..18c625de8be69fc18d9b932470712ad2c030b801 100644
--- a/chrome/browser/ui/sad_tab.cc
+++ b/components/sad_tab/sad_tab.cc
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/sad_tab.h"
+#include "components/sad_tab/sad_tab.h"
-namespace chrome {
+namespace sad_tab {
// static
bool SadTab::ShouldShow(base::TerminationStatus status) {
@@ -13,4 +13,4 @@ bool SadTab::ShouldShow(base::TerminationStatus status) {
status == base::TERMINATION_STATUS_PROCESS_CRASHED);
}
-} // namespace chrome
+} // namespace sad_tab

Powered by Google App Engine
This is Rietveld 408576698