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

Side by Side Diff: ios/chrome/browser/passwords/credential_manager.mm

Issue 2425933003: Removed unused include file in credential_manager. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #import "ios/chrome/browser/passwords/credential_manager.h" 5 #import "ios/chrome/browser/passwords/credential_manager.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/ios/ios_util.h"
10 #import "base/ios/weak_nsobject.h" 9 #import "base/ios/weak_nsobject.h"
11 #include "base/mac/bind_objc_block.h" 10 #include "base/mac/bind_objc_block.h"
12 #include "base/memory/scoped_vector.h" 11 #include "base/memory/scoped_vector.h"
13 #include "base/strings/sys_string_conversions.h" 12 #include "base/strings/sys_string_conversions.h"
14 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
15 #include "components/password_manager/core/browser/password_store_consumer.h" 14 #include "components/password_manager/core/browser/password_store_consumer.h"
16 #include "components/password_manager/core/common/credential_manager_types.h" 15 #include "components/password_manager/core/common/credential_manager_types.h"
17 #include "components/password_manager/core/common/password_manager_pref_names.h" 16 #include "components/password_manager/core/common/password_manager_pref_names.h"
18 #import "ios/chrome/browser/passwords/js_credential_manager.h" 17 #import "ios/chrome/browser/passwords/js_credential_manager.h"
19 #import "ios/web/public/url_scheme_util.h" 18 #import "ios/web/public/url_scheme_util.h"
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 bool CredentialManager::GetUrlWithAbsoluteTrust(GURL* page_url) { 376 bool CredentialManager::GetUrlWithAbsoluteTrust(GURL* page_url) {
378 web::URLVerificationTrustLevel trust_level = 377 web::URLVerificationTrustLevel trust_level =
379 web::URLVerificationTrustLevel::kNone; 378 web::URLVerificationTrustLevel::kNone;
380 const GURL possibly_untrusted_url(web_state()->GetCurrentURL(&trust_level)); 379 const GURL possibly_untrusted_url(web_state()->GetCurrentURL(&trust_level));
381 if (trust_level == web::URLVerificationTrustLevel::kAbsolute) { 380 if (trust_level == web::URLVerificationTrustLevel::kAbsolute) {
382 *page_url = possibly_untrusted_url; 381 *page_url = possibly_untrusted_url;
383 return true; 382 return true;
384 } 383 }
385 return false; 384 return false;
386 } 385 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698