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

Side by Side Diff: components/safe_browsing_db/android/safe_browsing_api_handler_bridge.h

Issue 2869383002: Unify safe_browsing* components [1]: move safe_browsing_prefs* (Closed)
Patch Set: fix compile on win Created 3 years, 7 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 // 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698