Commit 0dc30d16 authored by Jonathan Freed's avatar Jonathan Freed Committed by Commit Bot

[Explore Sites] Fixing url linked to from NTP for prototype.

Change-Id: I2b5007bcc8c8af400e4d97c2519479dd0591cc17
Reviewed-on: https://chromium-review.googlesource.com/c/1259809Reviewed-by: default avatarCathy Li <chili@chromium.org>
Commit-Queue: Jonathan Freed <freedjm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#596377}
parent 06197f92
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "chrome/browser/android/explore_sites/catalog.h" #include "chrome/browser/android/explore_sites/catalog.h"
#include "chrome/browser/android/explore_sites/catalog.pb.h" #include "chrome/browser/android/explore_sites/catalog.pb.h"
#include "chrome/browser/android/explore_sites/ntp_json_fetcher.h" #include "chrome/browser/android/explore_sites/ntp_json_fetcher.h"
#include "chrome/browser/android/explore_sites/url_util.h" #include "chrome/browser/android/explore_sites/url_util_experimental.h"
#include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_android.h" #include "chrome/browser/profiles/profile_android.h"
#include "chrome/browser/search/suggestions/image_decoder_impl.h" #include "chrome/browser/search/suggestions/image_decoder_impl.h"
...@@ -113,7 +113,8 @@ void JNI_ExploreSitesBridgeExperimental_GetNtpCategories( ...@@ -113,7 +113,8 @@ void JNI_ExploreSitesBridgeExperimental_GetNtpCategories(
ScopedJavaLocalRef<jstring> JNI_ExploreSitesBridgeExperimental_GetCatalogUrl( ScopedJavaLocalRef<jstring> JNI_ExploreSitesBridgeExperimental_GetCatalogUrl(
JNIEnv* env, JNIEnv* env,
const JavaParamRef<jclass>& jcaller) { const JavaParamRef<jclass>& jcaller) {
return base::android::ConvertUTF8ToJavaString(env, GetCatalogURL().spec()); return base::android::ConvertUTF8ToJavaString(
env, GetCatalogPrototypeURL().spec());
} }
// static // static
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment