Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: installer/src/installer-lib/session.cpp

Issue 5219280069066752: Issue #1186 - Change names that appear in the custom action (Closed)
Left Patch Set: Created Oct. 15, 2014, 3:29 p.m.
Right Patch Set: Created Jan. 4, 2015, 7 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « installer/src/installer-lib/session.h ('k') | installer/src/installer-lib/test/custom-action-fail.cpp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /** 1 /**
2 * \file session.cpp Implementation of Session class. 2 * \file session.cpp Implementation of Session class.
3 */ 3 */
4 4
5 #include "installer-lib.h" 5 #include "installer-lib.h"
6 #include "session.h" 6 #include "session.h"
7 #include "property.h" 7 #include "property.h"
8 #include "msiquery.h" 8 #include "msiquery.h"
9 9
10 //------------------------------------------------------------------------------ ----------- 10 //------------------------------------------------------------------------------ -----------
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 { 51 {
52 Log_Message ( std::wstring message ) 52 Log_Message ( std::wstring message )
53 : Message( message, INSTALLMESSAGE_INFO ) 53 : Message( message, INSTALLMESSAGE_INFO )
54 {} 54 {}
55 55
56 Log_Message ( std::string message ) 56 Log_Message ( std::string message )
57 : Message( message, INSTALLMESSAGE_INFO ) 57 : Message( message, INSTALLMESSAGE_INFO )
58 {} 58 {}
59 } ; 59 } ;
60 60
61 void Session::log( std::string message ) 61 void Session::Log( std::string message )
62 { 62 {
63 WriteMessage( Log_Message( log_prefix + message ) ) ; 63 WriteMessage( Log_Message( log_prefix + message ) ) ;
64 } 64 }
65 65
66 void Session::log( std::wstring message ) 66 void Session::Log( std::wstring message )
67 { 67 {
68 WriteMessage( Log_Message( log_prefix_w + message ) ) ; 68 WriteMessage( Log_Message( log_prefix_w + message ) ) ;
69 } 69 }
70 70
71 void Session::LogNoexcept( std::string message ) 71 void Session::LogNoexcept( std::string message )
72 { 72 {
73 write_message_noexcept( Log_Message( log_prefix + message ) ) ; 73 write_message_noexcept( Log_Message( log_prefix + message ) ) ;
74 } 74 }
75 75
76 int Session::WriteMessage( Message & m ) 76 int Session::WriteMessage( Message & m )
(...skipping 10 matching lines...) Expand all
87 { 87 {
88 return MsiProcessMessage( handle, m.message_type, m.r.handle() ) ; 88 return MsiProcessMessage( handle, m.message_type, m.r.handle() ) ;
89 } 89 }
90 90
91 //------------------------------------------------------------------------------ ----------- 91 //------------------------------------------------------------------------------ -----------
92 // ImmediateSession 92 // ImmediateSession
93 //------------------------------------------------------------------------------ ----------- 93 //------------------------------------------------------------------------------ -----------
94 ImmediateSession::ImmediateSession( MSIHANDLE handle, std::string name ) 94 ImmediateSession::ImmediateSession( MSIHANDLE handle, std::string name )
95 : Session( handle, name ) 95 : Session( handle, name )
96 {} 96 {}
LEFTRIGHT

Powered by Google App Engine
This is Rietveld