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

Unified Diff: chrome/browser/sync/test/integration/themes_helper.cc

Issue 244893004: Improve some naming (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: chrome/browser/sync/test/integration/themes_helper.cc
diff --git a/chrome/browser/sync/test/integration/themes_helper.cc b/chrome/browser/sync/test/integration/themes_helper.cc
index e16f4325523f37a05871f63bac439d25e6a02cf0..8fa75bc659e772359235377858cc892a6e7fcc60 100644
--- a/chrome/browser/sync/test/integration/themes_helper.cc
+++ b/chrome/browser/sync/test/integration/themes_helper.cc
@@ -47,8 +47,8 @@ bool UsingDefaultTheme(Profile* profile) {
return GetThemeService(profile)->UsingDefaultTheme();
}
-bool UsingNativeTheme(Profile* profile) {
- return GetThemeService(profile)->UsingNativeTheme();
+bool UsingSystemTheme(Profile* profile) {
+ return GetThemeService(profile)->UsingSystemTheme();
}
bool ThemeIsPendingInstall(Profile* profile, const std::string& id) {
@@ -69,9 +69,8 @@ void UseDefaultTheme(Profile* profile) {
GetThemeService(profile)->UseDefaultTheme();
}
-void UseNativeTheme(Profile* profile) {
- // TODO(akalin): Fix this inconsistent naming in the theme service.
- GetThemeService(profile)->SetNativeTheme();
+void UseSystemTheme(Profile* profile) {
+ GetThemeService(profile)->UseSystemTheme();
}
} // namespace themes_helper

Powered by Google App Engine
This is Rietveld 408576698