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

Side by Side Diff: chrome/common/service_process_util_win.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/common/net/gaia/gaia_oauth_client.cc ('k') | chrome/common/worker_thread_ticker.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/common/service_process_util.h" 5 #include "chrome/common/service_process_util.h"
6 6
7 #include "base/callback.h"
7 #include "base/command_line.h" 8 #include "base/command_line.h"
8 #include "base/file_util.h" 9 #include "base/file_util.h"
9 #include "base/logging.h" 10 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
11 #include "base/path_service.h" 12 #include "base/path_service.h"
12 #include "base/string16.h" 13 #include "base/string16.h"
13 #include "base/task.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "base/win/object_watcher.h" 15 #include "base/win/object_watcher.h"
16 #include "base/win/scoped_handle.h" 16 #include "base/win/scoped_handle.h"
17 #include "base/win/win_util.h" 17 #include "base/win/win_util.h"
18 #include "chrome/common/chrome_paths.h" 18 #include "chrome/common/chrome_paths.h"
19 #include "chrome/common/chrome_switches.h" 19 #include "chrome/common/chrome_switches.h"
20 20
21 namespace { 21 namespace {
22 22
23 const char* kTerminateEventSuffix = "_service_terminate_evt"; 23 const char* kTerminateEventSuffix = "_service_terminate_evt";
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 base::win::RemoveCommandFromAutoRun( 166 base::win::RemoveCommandFromAutoRun(
167 HKEY_CURRENT_USER, UTF8ToWide(GetObsoleteServiceProcessAutoRunKey())); 167 HKEY_CURRENT_USER, UTF8ToWide(GetObsoleteServiceProcessAutoRunKey()));
168 return base::win::RemoveCommandFromAutoRun( 168 return base::win::RemoveCommandFromAutoRun(
169 HKEY_CURRENT_USER, UTF8ToWide(GetServiceProcessAutoRunKey())); 169 HKEY_CURRENT_USER, UTF8ToWide(GetServiceProcessAutoRunKey()));
170 } 170 }
171 171
172 void ServiceProcessState::TearDownState() { 172 void ServiceProcessState::TearDownState() {
173 delete state_; 173 delete state_;
174 state_ = NULL; 174 state_ = NULL;
175 } 175 }
OLDNEW
« no previous file with comments | « chrome/common/net/gaia/gaia_oauth_client.cc ('k') | chrome/common/worker_thread_ticker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698