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

Unified Diff: chrome/test/ui/ui_test.cc

Issue 10698009: Make profile history easily filterable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to tot Created 8 years, 4 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
« no previous file with comments | « chrome/test/ui/ui_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/ui_test.cc
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
index 624fdfb5918a0a90b93e1742577c205a6574999c..55cdc564cb179e2dce51e3c0ce49c7b58588b36c 100644
--- a/chrome/test/ui/ui_test.cc
+++ b/chrome/test/ui/ui_test.cc
@@ -19,6 +19,7 @@
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/json/json_file_value_serializer.h"
+#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/path_service.h"
#include "base/process_util.h"
@@ -419,24 +420,19 @@ FilePath UITestBase::ComputeTypicalUserDataSource(
source_history_file = source_history_file.AppendASCII("profiles");
switch (profile_type) {
case UITestBase::DEFAULT_THEME:
- source_history_file = source_history_file.AppendASCII("typical_history");
+ source_history_file = source_history_file.AppendASCII(
+ "profile_with_default_theme");
break;
case UITestBase::COMPLEX_THEME:
- source_history_file = source_history_file.AppendASCII("complex_theme");
- break;
- case UITestBase::NATIVE_THEME:
- source_history_file = source_history_file.AppendASCII("gtk_theme");
- break;
- case UITestBase::CUSTOM_FRAME:
- source_history_file = source_history_file.AppendASCII("custom_frame");
- break;
- case UITestBase::CUSTOM_FRAME_NATIVE_THEME:
- source_history_file =
- source_history_file.AppendASCII("custom_frame_gtk_theme");
+ source_history_file = source_history_file.AppendASCII(
+ "profile_with_complex_theme");
break;
default:
NOTREACHED();
}
+
+ DCHECK(file_util::PathExists(source_history_file));
+
return source_history_file;
}
« no previous file with comments | « chrome/test/ui/ui_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698