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

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

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs Created 6 years, 2 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_FOREIGN_SESSION_HELPER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_FOREIGN_SESSION_HELPER_H_
6 #define CHROME_BROWSER_ANDROID_FOREIGN_SESSION_HELPER_H_ 6 #define CHROME_BROWSER_ANDROID_FOREIGN_SESSION_HELPER_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 20 matching lines...) Expand all
31 jobject obj, 31 jobject obj,
32 jobject j_tab, 32 jobject j_tab,
33 jstring session_tag, 33 jstring session_tag,
34 jint tab_id, 34 jint tab_id,
35 jint disposition); 35 jint disposition);
36 void DeleteForeignSession(JNIEnv* env, jobject obj, jstring session_tag); 36 void DeleteForeignSession(JNIEnv* env, jobject obj, jstring session_tag);
37 37
38 // NotificationObserver implemenation 38 // NotificationObserver implemenation
39 virtual void Observe(int type, 39 virtual void Observe(int type,
40 const content::NotificationSource& source, 40 const content::NotificationSource& source,
41 const content::NotificationDetails& details) OVERRIDE; 41 const content::NotificationDetails& details) override;
42 42
43 static bool RegisterForeignSessionHelper(JNIEnv* env); 43 static bool RegisterForeignSessionHelper(JNIEnv* env);
44 44
45 private: 45 private:
46 virtual ~ForeignSessionHelper(); 46 virtual ~ForeignSessionHelper();
47 47
48 Profile* profile_; // weak 48 Profile* profile_; // weak
49 base::android::ScopedJavaGlobalRef<jobject> callback_; 49 base::android::ScopedJavaGlobalRef<jobject> callback_;
50 content::NotificationRegistrar registrar_; 50 content::NotificationRegistrar registrar_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(ForeignSessionHelper); 52 DISALLOW_COPY_AND_ASSIGN(ForeignSessionHelper);
53 }; 53 };
54 54
55 #endif // CHROME_BROWSER_ANDROID_FOREIGN_SESSION_HELPER_H_ 55 #endif // CHROME_BROWSER_ANDROID_FOREIGN_SESSION_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698