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

Side by Side Diff: components/password_manager/core/browser/password_ui_utils.cc

Issue 1575783002: components: fix the inclusion of some header files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 4 years, 11 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 | « components/feedback/anonymizer_tool.cc ('k') | components/update_client/utils.h » ('j') | 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 #include <components/password_manager/core/browser/password_ui_utils.h> 5 #include "components/password_manager/core/browser/password_ui_utils.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "components/autofill/core/common/password_form.h" 11 #include "components/autofill/core/common/password_form.h"
12 #include "components/password_manager/core/browser/affiliation_utils.h" 12 #include "components/password_manager/core/browser/affiliation_utils.h"
13 #include "components/url_formatter/elide_url.h" 13 #include "components/url_formatter/elide_url.h"
14 14
15 namespace password_manager { 15 namespace password_manager {
(...skipping 27 matching lines...) Expand all
43 result.remove_prefix(prefix.length()); 43 result.remove_prefix(prefix.length());
44 break; // Remove only one prefix (e.g. www.mobile.de). 44 break; // Remove only one prefix (e.g. www.mobile.de).
45 } 45 }
46 } 46 }
47 47
48 return result.find('.') != base::StringPiece::npos ? result.as_string() 48 return result.find('.') != base::StringPiece::npos ? result.as_string()
49 : original; 49 : original;
50 } 50 }
51 51
52 } // namespace password_manager 52 } // namespace password_manager
OLDNEW
« no previous file with comments | « components/feedback/anonymizer_tool.cc ('k') | components/update_client/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698