Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 // Glue to pass Safe Browsing API requests between Chrome and GMSCore | 5 // Glue to pass Safe Browsing API requests between Chrome and GMSCore |
| 6 | 6 |
| 7 #ifndef COMPONENTS_SAFE_BROWSING_DB_SAFE_BROWSING_API_HANDLER_BRIDGE_H_ | 7 #ifndef COMPONENTS_SAFE_BROWSING_ANDROID_SAFE_BROWSING_API_HANDLER_BRIDGE_H_ |
|
lpz
2017/05/11 18:17:36
should this change be made even if the file didn't
timvolodine
2017/05/12 11:31:09
ah yes, sorry, thanks for catching this, this shou
| |
| 8 #define COMPONENTS_SAFE_BROWSING_DB_SAFE_BROWSING_API_HANDLER_BRIDGE_H_ | 8 #define COMPONENTS_SAFE_BROWSING_ANDROID_SAFE_BROWSING_API_HANDLER_BRIDGE_H_ |
| 9 | 9 |
| 10 #include <jni.h> | 10 #include <jni.h> |
| 11 | 11 |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/android/jni_android.h" | 15 #include "base/android/jni_android.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "components/safe_browsing_db/safe_browsing_api_handler.h" | 17 #include "components/safe_browsing_db/safe_browsing_api_handler.h" |
| 18 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 38 // The Java-side SafeBrowsingApiHandler. Must call CheckApiIsSupported first. | 38 // The Java-side SafeBrowsingApiHandler. Must call CheckApiIsSupported first. |
| 39 base::android::ScopedJavaLocalRef<jobject> j_api_handler_; | 39 base::android::ScopedJavaLocalRef<jobject> j_api_handler_; |
| 40 | 40 |
| 41 // True if we've once tried to create the above object. | 41 // True if we've once tried to create the above object. |
| 42 bool checked_api_support_; | 42 bool checked_api_support_; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingApiHandlerBridge); | 44 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingApiHandlerBridge); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace safe_browsing | 47 } // namespace safe_browsing |
| 48 #endif // COMPONENTS_SAFE_BROWSING_DB_SAFE_BROWSING_API_HANDLER_BRIDGE_H_ | 48 #endif // COMPONENTS_SAFE_BROWSING_ANDROID_SAFE_BROWSING_API_HANDLER_BRIDGE_H_ |
| OLD | NEW |