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

Side by Side Diff: chrome/browser/payments/android/payment_manifest_downloader_android.cc

Issue 2838433002: [Payments] Cache payment manifests. (Closed)
Patch Set: fix tests Created 3 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #include "components/payments/content/android/payment_manifest_downloader_androi d.h" 5 #include "chrome/browser/payments/android/payment_manifest_downloader_android.h"
please use gerrit instead 2017/04/24 18:22:31 There appears to be no need to move the downloader
gogerald1 2017/04/26 13:46:32 Not applicable, thought it might be better to put
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "components/payments/content/payment_manifest_downloader.h" 14 #include "components/payments/content/payment_manifest_downloader.h"
15 #include "content/public/browser/browser_context.h" 15 #include "content/public/browser/browser_context.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 const base::android::JavaParamRef<jobject>& jweb_contents, 131 const base::android::JavaParamRef<jobject>& jweb_contents,
132 const base::android::JavaParamRef<jobject>& jweb_app_manifest_uri, 132 const base::android::JavaParamRef<jobject>& jweb_app_manifest_uri,
133 const base::android::JavaParamRef<jobject>& jcallback) { 133 const base::android::JavaParamRef<jobject>& jcallback) {
134 SelfDeletingDownloadDelegate* delegate = BuildSelfDeletingDownloadDelegate( 134 SelfDeletingDownloadDelegate* delegate = BuildSelfDeletingDownloadDelegate(
135 env, jweb_contents, jweb_app_manifest_uri, jcallback); 135 env, jweb_contents, jweb_app_manifest_uri, jcallback);
136 if (delegate) 136 if (delegate)
137 delegate->DownloadWebAppManifest(); 137 delegate->DownloadWebAppManifest();
138 } 138 }
139 139
140 } // namespace payments 140 } // namespace payments
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698