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

Side by Side Diff: chrome/browser/profiles/profile_android.h

Issue 885283009: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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_PROFILES_PROFILE_ANDROID_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_ANDROID_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_ANDROID_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
(...skipping 27 matching lines...) Expand all
38 base::android::ScopedJavaLocalRef<jobject> GetOffTheRecordProfile( 38 base::android::ScopedJavaLocalRef<jobject> GetOffTheRecordProfile(
39 JNIEnv* env, jobject obj); 39 JNIEnv* env, jobject obj);
40 40
41 // Return whether an off the record profile exists. 41 // Return whether an off the record profile exists.
42 jboolean HasOffTheRecordProfile(JNIEnv* env, jobject obj); 42 jboolean HasOffTheRecordProfile(JNIEnv* env, jobject obj);
43 43
44 // Whether this profile is off the record. 44 // Whether this profile is off the record.
45 jboolean IsOffTheRecord(JNIEnv* env, jobject obj); 45 jboolean IsOffTheRecord(JNIEnv* env, jobject obj);
46 46
47 explicit ProfileAndroid(Profile* profile); 47 explicit ProfileAndroid(Profile* profile);
48 virtual ~ProfileAndroid(); 48 ~ProfileAndroid() override;
49 49
50 base::android::ScopedJavaLocalRef<jobject> GetJavaObject(); 50 base::android::ScopedJavaLocalRef<jobject> GetJavaObject();
51 51
52 private: 52 private:
53 Profile* profile_; // weak 53 Profile* profile_; // weak
54 base::android::ScopedJavaGlobalRef<jobject> obj_; 54 base::android::ScopedJavaGlobalRef<jobject> obj_;
55 }; 55 };
56 56
57 #endif // CHROME_BROWSER_PROFILES_PROFILE_ANDROID_H_ 57 #endif // CHROME_BROWSER_PROFILES_PROFILE_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_view_manager_basic.h ('k') | chrome/browser/search/contextual_search_promo_source_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698