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

Side by Side Diff: chrome/common/service_process_util_win.cc

Issue 2277333002: Revert of Remove MessageLoop::current() from base::win::ObjectWatcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « base/win/object_watcher.cc ('k') | ui/gfx/font_fallback_win.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 <algorithm>
8 #include <memory> 7 #include <memory>
9 8
10 #include "base/callback.h" 9 #include "base/callback.h"
11 #include "base/command_line.h" 10 #include "base/command_line.h"
12 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
13 #include "base/logging.h" 12 #include "base/logging.h"
14 #include "base/path_service.h" 13 #include "base/path_service.h"
15 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
16 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
17 #include "base/win/object_watcher.h" 16 #include "base/win/object_watcher.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 HKEY_CURRENT_USER, 168 HKEY_CURRENT_USER,
170 base::UTF8ToWide(GetObsoleteServiceProcessAutoRunKey())); 169 base::UTF8ToWide(GetObsoleteServiceProcessAutoRunKey()));
171 return base::win::RemoveCommandFromAutoRun( 170 return base::win::RemoveCommandFromAutoRun(
172 HKEY_CURRENT_USER, base::UTF8ToWide(GetServiceProcessAutoRunKey())); 171 HKEY_CURRENT_USER, base::UTF8ToWide(GetServiceProcessAutoRunKey()));
173 } 172 }
174 173
175 void ServiceProcessState::TearDownState() { 174 void ServiceProcessState::TearDownState() {
176 delete state_; 175 delete state_;
177 state_ = NULL; 176 state_ = NULL;
178 } 177 }
OLDNEW
« no previous file with comments | « base/win/object_watcher.cc ('k') | ui/gfx/font_fallback_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698