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

Side by Side Diff: chrome/browser/interstitials/chrome_controller_client.cc

Issue 2828663002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/{i,l,m,n,p,r}* (Closed)
Patch Set: Created 3 years, 8 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 "chrome/browser/interstitials/chrome_controller_client.h" 5 #include "chrome/browser/interstitials/chrome_controller_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/process/launch.h" 10 #include "base/process/launch.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 void ChromeControllerClient::LaunchDateAndTimeSettings() { 141 void ChromeControllerClient::LaunchDateAndTimeSettings() {
142 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); 142 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
143 143
144 #if defined(OS_CHROMEOS) 144 #if defined(OS_CHROMEOS)
145 chrome::ShowSettingsSubPageForProfile(ProfileManager::GetActiveUserProfile(), 145 chrome::ShowSettingsSubPageForProfile(ProfileManager::GetActiveUserProfile(),
146 chrome::kDateTimeSubPage); 146 chrome::kDateTimeSubPage);
147 #else 147 #else
148 content::BrowserThread::PostTask( 148 content::BrowserThread::PostTask(
149 content::BrowserThread::FILE, FROM_HERE, 149 content::BrowserThread::FILE, FROM_HERE,
150 base::Bind(&LaunchDateAndTimeSettingsOnFileThread)); 150 base::BindOnce(&LaunchDateAndTimeSettingsOnFileThread));
151 #endif 151 #endif
152 } 152 }
OLDNEW
« no previous file with comments | « chrome/browser/infobars/infobar_responder.cc ('k') | chrome/browser/intranet_redirect_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698