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

Side by Side Diff: android_webview/native/aw_quota_manager_bridge_impl.h

Issue 509453002: android_webview : Class member variable WeakPtrFactory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 bool is_quota); 70 bool is_quota);
71 71
72 void GetOriginsCallbackImpl( 72 void GetOriginsCallbackImpl(
73 int jcallback_id, 73 int jcallback_id,
74 const std::vector<std::string>& origin, 74 const std::vector<std::string>& origin,
75 const std::vector<int64>& usage, 75 const std::vector<int64>& usage,
76 const std::vector<int64>& quota); 76 const std::vector<int64>& quota);
77 void QuotaUsageCallbackImpl( 77 void QuotaUsageCallbackImpl(
78 int jcallback_id, bool is_quota, int64 usage, int64 quota); 78 int jcallback_id, bool is_quota, int64 usage, int64 quota);
79 79
80 base::WeakPtrFactory<AwQuotaManagerBridgeImpl> weak_factory_;
81 AwBrowserContext* browser_context_; 80 AwBrowserContext* browser_context_;
82 JavaObjectWeakGlobalRef java_ref_; 81 JavaObjectWeakGlobalRef java_ref_;
83 82
83 base::WeakPtrFactory<AwQuotaManagerBridgeImpl> weak_factory_;
84
84 DISALLOW_COPY_AND_ASSIGN(AwQuotaManagerBridgeImpl); 85 DISALLOW_COPY_AND_ASSIGN(AwQuotaManagerBridgeImpl);
85 }; 86 };
86 87
87 bool RegisterAwQuotaManagerBridge(JNIEnv* env); 88 bool RegisterAwQuotaManagerBridge(JNIEnv* env);
88 89
89 } // namespace android_webview 90 } // namespace android_webview
90 91
91 #endif // ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ 92 #endif // ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_
OLDNEW
« no previous file with comments | « android_webview/browser/shared_renderer_state.cc ('k') | android_webview/native/aw_quota_manager_bridge_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698