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

Side by Side Diff: cloud_print/service/win/chrome_launcher.cc

Issue 10505010: Root solution for src/cloud_print. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « cloud_print/service/win/DEPS ('k') | cloud_print/service/win/cloud_print_service.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "cloud_print/service/win/chrome_launcher.h" 5 #include "cloud_print/service/win/chrome_launcher.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/process.h" 10 #include "base/process.h"
11 #include "base/process_util.h" 11 #include "base/process_util.h"
12 #include "base/win/registry.h" 12 #include "base/win/registry.h"
13 #include "base/win/scoped_handle.h" 13 #include "base/win/scoped_handle.h"
14 #include "base/win/scoped_process_information.h" 14 #include "base/win/scoped_process_information.h"
15 #include "cloud_print/service/win/service_switches.h" 15 #include "cloud_print/service/service_switches.h"
16 16
17 namespace { 17 namespace {
18 18
19 const wchar_t kChromeRegClientStateKey[] = 19 const wchar_t kChromeRegClientStateKey[] =
20 L"Software\\Google\\Update\\ClientState\\" 20 L"Software\\Google\\Update\\ClientState\\"
21 L"{8A69D345-D564-463c-AFF1-A69D9E530F96}"; 21 L"{8A69D345-D564-463c-AFF1-A69D9E530F96}";
22 22
23 const wchar_t kGoogleChromeExePath[] = 23 const wchar_t kGoogleChromeExePath[] =
24 L"Google\\Chrome\\Application\\chrome.exe"; 24 L"Google\\Chrome\\Application\\chrome.exe";
25 25
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 } 163 }
164 } 164 }
165 } 165 }
166 166
167 if (file_util::PathExists(chrome_exe_path)) 167 if (file_util::PathExists(chrome_exe_path))
168 return chrome_exe_path; 168 return chrome_exe_path;
169 169
170 return FilePath(); 170 return FilePath();
171 } 171 }
172 172
OLDNEW
« no previous file with comments | « cloud_print/service/win/DEPS ('k') | cloud_print/service/win/cloud_print_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698