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

Side by Side Diff: chrome/browser/ui/webui/settings/people_handler.cc

Issue 2279753003: Move definition of PasswordType enum to a separate header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@passphrase-type-enum-class
Patch Set: D2279753003 Created 4 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
« no previous file with comments | « no previous file | components/browser_sync/browser/profile_sync_service.cc » ('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 "chrome/browser/ui/webui/settings/people_handler.h" 5 #include "chrome/browser/ui/webui/settings/people_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 27 matching lines...) Expand all
38 #include "components/autofill/core/common/autofill_constants.h" 38 #include "components/autofill/core/common/autofill_constants.h"
39 #include "components/autofill/core/common/autofill_pref_names.h" 39 #include "components/autofill/core/common/autofill_pref_names.h"
40 #include "components/browser_sync/browser/profile_sync_service.h" 40 #include "components/browser_sync/browser/profile_sync_service.h"
41 #include "components/prefs/pref_service.h" 41 #include "components/prefs/pref_service.h"
42 #include "components/signin/core/browser/signin_error_controller.h" 42 #include "components/signin/core/browser/signin_error_controller.h"
43 #include "components/signin/core/browser/signin_header_helper.h" 43 #include "components/signin/core/browser/signin_header_helper.h"
44 #include "components/signin/core/browser/signin_metrics.h" 44 #include "components/signin/core/browser/signin_metrics.h"
45 #include "components/signin/core/common/profile_management_switches.h" 45 #include "components/signin/core/common/profile_management_switches.h"
46 #include "components/signin/core/common/signin_pref_names.h" 46 #include "components/signin/core/common/signin_pref_names.h"
47 #include "components/strings/grit/components_strings.h" 47 #include "components/strings/grit/components_strings.h"
48 #include "components/sync/base/passphrase_type.h"
48 #include "components/sync/driver/sync_prefs.h" 49 #include "components/sync/driver/sync_prefs.h"
49 #include "content/public/browser/render_view_host.h" 50 #include "content/public/browser/render_view_host.h"
50 #include "content/public/browser/web_contents.h" 51 #include "content/public/browser/web_contents.h"
51 #include "content/public/browser/web_contents_delegate.h" 52 #include "content/public/browser/web_contents_delegate.h"
52 #include "google_apis/gaia/gaia_auth_util.h" 53 #include "google_apis/gaia/gaia_auth_util.h"
53 #include "google_apis/gaia/gaia_constants.h" 54 #include "google_apis/gaia/gaia_constants.h"
54 #include "net/base/url_util.h" 55 #include "net/base/url_util.h"
55 #include "ui/base/l10n/l10n_util.h" 56 #include "ui/base/l10n/l10n_util.h"
56 #include "ui/base/webui/web_ui_util.h" 57 #include "ui/base/webui/web_ui_util.h"
57 58
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 base::FilePath profile_file_path = profile_->GetPath(); 897 base::FilePath profile_file_path = profile_->GetPath();
897 ProfileMetrics::LogProfileSyncSignIn(profile_file_path); 898 ProfileMetrics::LogProfileSyncSignIn(profile_file_path);
898 899
899 // We're done configuring, so notify ProfileSyncService that it is OK to 900 // We're done configuring, so notify ProfileSyncService that it is OK to
900 // start syncing. 901 // start syncing.
901 sync_blocker_.reset(); 902 sync_blocker_.reset();
902 service->SetFirstSetupComplete(); 903 service->SetFirstSetupComplete();
903 } 904 }
904 905
905 } // namespace settings 906 } // namespace settings
OLDNEW
« no previous file with comments | « no previous file | components/browser_sync/browser/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698