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

Side by Side Diff: chrome/install_static/product_install_details.cc

Issue 2530163002: Make the name of the event source for SYSLOG configurable. (Closed)
Patch Set: Remove NOTREACHED and log suffix. Created 4 years 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/install_static/product_install_details.h" 5 #include "chrome/install_static/product_install_details.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <assert.h> 8 #include <assert.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 11
12 #include "chrome/install_static/install_details.h"
12 #include "chrome/install_static/install_modes.h" 13 #include "chrome/install_static/install_modes.h"
13 #include "chrome/install_static/install_util.h" 14 #include "chrome/install_static/install_util.h"
14 #include "chrome_elf/nt_registry/nt_registry.h" 15 #include "chrome_elf/nt_registry/nt_registry.h"
15 16
16 namespace install_static { 17 namespace install_static {
17 18
18 namespace { 19 namespace {
19 20
20 // Returns the executable path for the current process. 21 // Returns the executable path for the current process.
21 std::wstring GetCurrentProcessExePath() { 22 std::wstring GetCurrentProcessExePath() {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 140
140 details->set_mode(mode); 141 details->set_mode(mode);
141 details->set_system_level(system_level); 142 details->set_system_level(system_level);
142 details->set_multi_install(multi_install); 143 details->set_multi_install(multi_install);
143 details->set_channel(DetermineChannel(*mode, system_level, multi_install)); 144 details->set_channel(DetermineChannel(*mode, system_level, multi_install));
144 145
145 return details; 146 return details;
146 } 147 }
147 148
148 } // namespace install_static 149 } // namespace install_static
OLDNEW
« no previous file with comments | « chrome/install_static/install_modes.h ('k') | chrome/install_static/product_install_details_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698