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

Side by Side Diff: chrome/browser/android/offline_pages/offline_page_bridge.cc

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chrome/browser/android/offline_pages/offline_page_bridge.h" 5 #include "chrome/browser/android/offline_pages/offline_page_bridge.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 14 matching lines...) Expand all
25 #include "components/offline_pages/offline_page_feature.h" 25 #include "components/offline_pages/offline_page_feature.h"
26 #include "components/offline_pages/offline_page_item.h" 26 #include "components/offline_pages/offline_page_item.h"
27 #include "components/offline_pages/offline_page_model.h" 27 #include "components/offline_pages/offline_page_model.h"
28 #include "content/public/browser/browser_context.h" 28 #include "content/public/browser/browser_context.h"
29 #include "content/public/browser/web_contents.h" 29 #include "content/public/browser/web_contents.h"
30 #include "jni/OfflinePageBridge_jni.h" 30 #include "jni/OfflinePageBridge_jni.h"
31 #include "net/base/filename_util.h" 31 #include "net/base/filename_util.h"
32 32
33 using base::android::ConvertJavaStringToUTF8; 33 using base::android::ConvertJavaStringToUTF8;
34 using base::android::ConvertUTF8ToJavaString; 34 using base::android::ConvertUTF8ToJavaString;
35 using base::android::JavaParamRef;
35 using base::android::ScopedJavaGlobalRef; 36 using base::android::ScopedJavaGlobalRef;
36 using base::android::ScopedJavaLocalRef; 37 using base::android::ScopedJavaLocalRef;
37 38
38 namespace offline_pages { 39 namespace offline_pages {
39 namespace android { 40 namespace android {
40 41
41 namespace { 42 namespace {
42 43
43 const char kOfflinePageBridgeKey[] = "offline-page-bridge"; 44 const char kOfflinePageBridgeKey[] = "offline-page-bridge";
44 const bool kUserRequested = true; 45 const bool kUserRequested = true;
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 ConvertUTF8ToJavaString(env, client_id.name_space).obj(), 418 ConvertUTF8ToJavaString(env, client_id.name_space).obj(),
418 ConvertUTF8ToJavaString(env, client_id.id).obj()); 419 ConvertUTF8ToJavaString(env, client_id.id).obj());
419 } 420 }
420 421
421 bool RegisterOfflinePageBridge(JNIEnv* env) { 422 bool RegisterOfflinePageBridge(JNIEnv* env) {
422 return RegisterNativesImpl(env); 423 return RegisterNativesImpl(env);
423 } 424 }
424 425
425 } // namespace android 426 } // namespace android
426 } // namespace offline_pages 427 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698