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

Side by Side Diff: chrome/browser/android/new_tab_page_prefs.h

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Fix android webview build issues. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_PREFS_H_ 5 #ifndef CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_PREFS_H_
6 #define CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_PREFS_H_ 6 #define CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_PREFS_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 18 matching lines...) Expand all
29 jobject obj, 29 jobject obj,
30 jboolean is_collapsed); 30 jboolean is_collapsed);
31 31
32 jboolean GetForeignSessionCollapsed(JNIEnv* env, 32 jboolean GetForeignSessionCollapsed(JNIEnv* env,
33 jobject obj, 33 jobject obj,
34 jstring session_tag); 34 jstring session_tag);
35 void SetForeignSessionCollapsed(JNIEnv* env, jobject obj, 35 void SetForeignSessionCollapsed(JNIEnv* env, jobject obj,
36 jstring session_tag, 36 jstring session_tag,
37 jboolean is_collapsed); 37 jboolean is_collapsed);
38 38
39 static bool RegisterNewTabPagePrefs(JNIEnv* env);
40 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 39 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
41 private: 40 private:
42 virtual ~NewTabPagePrefs(); 41 virtual ~NewTabPagePrefs();
43 42
44 Profile* profile_; // weak 43 Profile* profile_; // weak
45 DISALLOW_COPY_AND_ASSIGN(NewTabPagePrefs); 44 DISALLOW_COPY_AND_ASSIGN(NewTabPagePrefs);
46 }; 45 };
47 46
48 #endif // CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_PREFS_H_ 47 #endif // CHROME_BROWSER_ANDROID_NEW_TAB_PAGE_PREFS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698