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

Side by Side Diff: chrome/browser/engagement/site_engagement_service_android.h

Issue 2735333002: Rename SiteEngagementService::ResetScoreForURL. (Closed)
Patch Set: Created 3 years, 9 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_ENGAGEMENT_SITE_ENGAGEMENT_SERVICE_ANDROID_H_ 5 #ifndef CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_SERVICE_ANDROID_H_
6 #define CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_SERVICE_ANDROID_H_ 6 #define CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_SERVICE_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 18 matching lines...) Expand all
29 SiteEngagementService* service); 29 SiteEngagementService* service);
30 30
31 SiteEngagementServiceAndroid(JNIEnv* env, SiteEngagementService* service); 31 SiteEngagementServiceAndroid(JNIEnv* env, SiteEngagementService* service);
32 32
33 ~SiteEngagementServiceAndroid(); 33 ~SiteEngagementServiceAndroid();
34 34
35 double GetScore(JNIEnv* env, 35 double GetScore(JNIEnv* env,
36 const base::android::JavaParamRef<jobject>& caller, 36 const base::android::JavaParamRef<jobject>& caller,
37 const base::android::JavaParamRef<jstring>& jurl) const; 37 const base::android::JavaParamRef<jstring>& jurl) const;
38 38
39 void ResetScoreForURL(JNIEnv* env, 39 void ResetBaseScoreForURL(JNIEnv* env,
40 const base::android::JavaParamRef<jobject>& caller, 40 const base::android::JavaParamRef<jobject>& caller,
41 const base::android::JavaParamRef<jstring>& jurl, 41 const base::android::JavaParamRef<jstring>& jurl,
42 double score); 42 double score);
43 43
44 private: 44 private:
45 base::android::ScopedJavaGlobalRef<jobject> java_service_; 45 base::android::ScopedJavaGlobalRef<jobject> java_service_;
46 SiteEngagementService* service_; 46 SiteEngagementService* service_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(SiteEngagementServiceAndroid); 48 DISALLOW_COPY_AND_ASSIGN(SiteEngagementServiceAndroid);
49 }; 49 };
50 50
51 #endif // CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_SERVICE_ANDROID_H_ 51 #endif // CHROME_BROWSER_ENGAGEMENT_SITE_ENGAGEMENT_SERVICE_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/browser/engagement/site_engagement_service.cc ('k') | chrome/browser/engagement/site_engagement_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698