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

Unified Diff: chrome/browser/android/ntp/recent_tabs_page_prefs.h

Issue 2612243002: Rename NewTabPagePrefs to RecentTabsPagePrefs. (Closed)
Patch Set: alphabetize Created 3 years, 11 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/android/ntp/recent_tabs_page_prefs.h
diff --git a/chrome/browser/android/ntp/new_tab_page_prefs.h b/chrome/browser/android/ntp/recent_tabs_page_prefs.h
similarity index 81%
rename from chrome/browser/android/ntp/new_tab_page_prefs.h
rename to chrome/browser/android/ntp/recent_tabs_page_prefs.h
index c17bbc6a1f1111146b576f23a1cf018f02616afb..7c26168d7242d17cbf9c4ed8e2297b5d6b906aaa 100644
--- a/chrome/browser/android/ntp/new_tab_page_prefs.h
+++ b/chrome/browser/android/ntp/recent_tabs_page_prefs.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_NTP_NEW_TAB_PAGE_PREFS_H_
-#define CHROME_BROWSER_ANDROID_NTP_NEW_TAB_PAGE_PREFS_H_
+#ifndef CHROME_BROWSER_ANDROID_NTP_RECENT_TABS_PAGE_PREFS_H_
+#define CHROME_BROWSER_ANDROID_NTP_RECENT_TABS_PAGE_PREFS_H_
#include <jni.h>
@@ -11,9 +11,9 @@
#include "base/macros.h"
#include "chrome/browser/profiles/profile.h"
-class NewTabPagePrefs {
+class RecentTabsPagePrefs {
public:
- explicit NewTabPagePrefs(Profile* profile);
+ explicit RecentTabsPagePrefs(Profile* profile);
void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
jboolean GetSnapshotDocumentCollapsed(
@@ -49,13 +49,14 @@ class NewTabPagePrefs {
const base::android::JavaParamRef<jstring>& session_tag,
jboolean is_collapsed);
- static bool RegisterNewTabPagePrefs(JNIEnv* env);
+ static bool RegisterJni(JNIEnv* env);
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
+
private:
- virtual ~NewTabPagePrefs();
+ virtual ~RecentTabsPagePrefs();
Profile* profile_; // weak
- DISALLOW_COPY_AND_ASSIGN(NewTabPagePrefs);
+ DISALLOW_COPY_AND_ASSIGN(RecentTabsPagePrefs);
};
-#endif // CHROME_BROWSER_ANDROID_NTP_NEW_TAB_PAGE_PREFS_H_
+#endif // CHROME_BROWSER_ANDROID_NTP_RECENT_TABS_PAGE_PREFS_H_
« no previous file with comments | « chrome/browser/android/ntp/new_tab_page_prefs.cc ('k') | chrome/browser/android/ntp/recent_tabs_page_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698