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

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

Issue 7633055: base: Fix the TODO in string_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_mini_installer.cc Created 9 years, 4 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
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/time.h" 13 #include "base/time.h"
13 #include "base/task.h" 14 #include "base/task.h"
14 #include "base/win/registry.h" 15 #include "base/win/registry.h"
15 #include "base/win/scoped_comptr.h" 16 #include "base/win/scoped_comptr.h"
16 #include "base/win/scoped_handle.h" 17 #include "base/win/scoped_handle.h"
17 #include "base/win/windows_version.h" 18 #include "base/win/windows_version.h"
18 #include "chrome/installer/util/browser_distribution.h" 19 #include "chrome/installer/util/browser_distribution.h"
19 #include "chrome/installer/util/google_update_constants.h" 20 #include "chrome/installer/util/google_update_constants.h"
20 #include "chrome/installer/util/master_preferences.h" 21 #include "chrome/installer/util/master_preferences.h"
21 #include "chrome/installer/util/util_constants.h" 22 #include "chrome/installer/util/util_constants.h"
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 247
247 void RegistryReadyModeState::PermanentlyDeclineChromeFrame() { 248 void RegistryReadyModeState::PermanentlyDeclineChromeFrame() {
248 if (LaunchAndCheckCommand(google_update::kRegCFOptOutCmdField)) 249 if (LaunchAndCheckCommand(google_update::kRegCFOptOutCmdField))
249 RefreshStateAndNotify(); 250 RefreshStateAndNotify();
250 } 251 }
251 252
252 void RegistryReadyModeState::AcceptChromeFrame() { 253 void RegistryReadyModeState::AcceptChromeFrame() {
253 if (LaunchAndCheckCommand(google_update::kRegCFOptInCmdField)) 254 if (LaunchAndCheckCommand(google_update::kRegCFOptInCmdField))
254 NotifyObserver(); 255 NotifyObserver();
255 } 256 }
OLDNEW
« no previous file with comments | « chrome/test/mini_installer_test/chrome_mini_installer.cc ('k') | content/browser/geolocation/gateway_data_provider_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698