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

Side by Side Diff: components/password_manager/sync/browser/sync_credentials_filter.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 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/sync/browser/sync_credentials_filter.h" 5 #include "components/password_manager/sync/browser/sync_credentials_filter.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/macros.h"
10 #include "base/metrics/field_trial.h" 11 #include "base/metrics/field_trial.h"
11 #include "base/metrics/histogram_macros.h" 12 #include "base/metrics/histogram_macros.h"
12 #include "base/metrics/user_metrics.h" 13 #include "base/metrics/user_metrics.h"
13 #include "components/password_manager/core/common/password_manager_switches.h" 14 #include "components/password_manager/core/common/password_manager_switches.h"
14 #include "components/password_manager/sync/browser/password_sync_util.h" 15 #include "components/password_manager/sync/browser/password_sync_util.h"
15 #include "google_apis/gaia/gaia_urls.h" 16 #include "google_apis/gaia/gaia_urls.h"
16 #include "net/base/url_util.h" 17 #include "net/base/url_util.h"
17 18
18 using autofill::PasswordForm; 19 using autofill::PasswordForm;
19 20
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 if (group_name == "DisallowSyncCredentialsForReauth") 107 if (group_name == "DisallowSyncCredentialsForReauth")
107 return DISALLOW_SYNC_CREDENTIALS_FOR_REAUTH; 108 return DISALLOW_SYNC_CREDENTIALS_FOR_REAUTH;
108 if (group_name == "DisallowSyncCredentials") 109 if (group_name == "DisallowSyncCredentials")
109 return DISALLOW_SYNC_CREDENTIALS; 110 return DISALLOW_SYNC_CREDENTIALS;
110 111
111 // Allow by default. 112 // Allow by default.
112 return ALLOW_SYNC_CREDENTIALS; 113 return ALLOW_SYNC_CREDENTIALS;
113 } 114 }
114 115
115 } // namespace password_manager 116 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698