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

Side by Side Diff: android_webview/native/cookie_manager.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "android_webview/native/cookie_manager.h" 5 #include "android_webview/native/cookie_manager.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...) Expand all
38 #include "net/cookies/cookie_options.h" 38 #include "net/cookies/cookie_options.h"
39 #include "net/cookies/cookie_store.h" 39 #include "net/cookies/cookie_store.h"
40 #include "net/extras/sqlite/cookie_crypto_delegate.h" 40 #include "net/extras/sqlite/cookie_crypto_delegate.h"
41 #include "net/url_request/url_request_context.h" 41 #include "net/url_request/url_request_context.h"
42 #include "url/url_constants.h" 42 #include "url/url_constants.h"
43 43
44 using base::FilePath; 44 using base::FilePath;
45 using base::WaitableEvent; 45 using base::WaitableEvent;
46 using base::android::ConvertJavaStringToUTF8; 46 using base::android::ConvertJavaStringToUTF8;
47 using base::android::ConvertJavaStringToUTF16; 47 using base::android::ConvertJavaStringToUTF16;
48 using base::android::JavaParamRef;
48 using base::android::ScopedJavaGlobalRef; 49 using base::android::ScopedJavaGlobalRef;
50 using base::android::ScopedJavaLocalRef;
49 using content::BrowserThread; 51 using content::BrowserThread;
50 using net::CookieList; 52 using net::CookieList;
51 53
52 // In the future, we may instead want to inject an explicit CookieStore 54 // In the future, we may instead want to inject an explicit CookieStore
53 // dependency into this object during process initialization to avoid 55 // dependency into this object during process initialization to avoid
54 // depending on the URLRequestContext. 56 // depending on the URLRequestContext.
55 // See issue http://crbug.com/157683 57 // See issue http://crbug.com/157683
56 58
57 // On the CookieManager methods without a callback and methods with a callback 59 // On the CookieManager methods without a callback and methods with a callback
58 // when that callback is null can be called from any thread, including threads 60 // when that callback is null can be called from any thread, including threads
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 620
619 net::CookieStore* GetCookieStore() { 621 net::CookieStore* GetCookieStore() {
620 return CookieManager::GetInstance()->GetCookieStore(); 622 return CookieManager::GetInstance()->GetCookieStore();
621 } 623 }
622 624
623 bool RegisterCookieManager(JNIEnv* env) { 625 bool RegisterCookieManager(JNIEnv* env) {
624 return RegisterNativesImpl(env); 626 return RegisterNativesImpl(env);
625 } 627 }
626 628
627 } // android_webview namespace 629 } // android_webview namespace
OLDNEW
« no previous file with comments | « android_webview/native/aw_web_contents_delegate.cc ('k') | android_webview/native/permission/aw_permission_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698