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

Side by Side Diff: chrome_frame/ready_mode/internal/registry_ready_mode_state.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome_frame/external_tab.cc ('k') | chrome_frame/task_marshaller.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_frame/ready_mode/internal/registry_ready_mode_state.h" 5 #include "chrome_frame/ready_mode/internal/registry_ready_mode_state.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "base/task.h"
15 #include "base/win/registry.h" 14 #include "base/win/registry.h"
16 #include "base/win/scoped_comptr.h" 15 #include "base/win/scoped_comptr.h"
17 #include "base/win/scoped_handle.h" 16 #include "base/win/scoped_handle.h"
18 #include "base/win/windows_version.h" 17 #include "base/win/windows_version.h"
19 #include "chrome/installer/util/browser_distribution.h" 18 #include "chrome/installer/util/browser_distribution.h"
20 #include "chrome/installer/util/google_update_constants.h" 19 #include "chrome/installer/util/google_update_constants.h"
21 #include "chrome/installer/util/master_preferences.h" 20 #include "chrome/installer/util/master_preferences.h"
22 #include "chrome/installer/util/util_constants.h" 21 #include "chrome/installer/util/util_constants.h"
23 #include "chrome_frame/chrome_launcher_utils.h" 22 #include "chrome_frame/chrome_launcher_utils.h"
24 #include "chrome_frame/ready_mode/ready_mode.h" 23 #include "chrome_frame/ready_mode/ready_mode.h"
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 245
247 void RegistryReadyModeState::PermanentlyDeclineChromeFrame() { 246 void RegistryReadyModeState::PermanentlyDeclineChromeFrame() {
248 if (LaunchAndCheckCommand(google_update::kRegCFOptOutCmdField)) 247 if (LaunchAndCheckCommand(google_update::kRegCFOptOutCmdField))
249 RefreshStateAndNotify(); 248 RefreshStateAndNotify();
250 } 249 }
251 250
252 void RegistryReadyModeState::AcceptChromeFrame() { 251 void RegistryReadyModeState::AcceptChromeFrame() {
253 if (LaunchAndCheckCommand(google_update::kRegCFOptInCmdField)) 252 if (LaunchAndCheckCommand(google_update::kRegCFOptInCmdField))
254 NotifyObserver(); 253 NotifyObserver();
255 } 254 }
OLDNEW
« no previous file with comments | « chrome_frame/external_tab.cc ('k') | chrome_frame/task_marshaller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698