OLD | NEW |
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 #ifndef WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_OPERATION_H_ | 5 #ifndef WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_OPERATION_H_ |
6 #define WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_OPERATION_H_ | 6 #define WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_OPERATION_H_ |
7 | 7 |
8 #include <atldef.h> | 8 #include <atldef.h> |
9 #include <windows.h> | 9 #include <windows.h> |
10 | 10 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 return relaunch_flags_; | 53 return relaunch_flags_; |
54 } | 54 } |
55 | 55 |
56 const string16& mutex() const { | 56 const string16& mutex() const { |
57 return mutex_; | 57 return mutex_; |
58 } | 58 } |
59 | 59 |
60 // Returns the process id of the parent or 0 on failure. | 60 // Returns the process id of the parent or 0 on failure. |
61 DWORD GetParentPid() const; | 61 DWORD GetParentPid() const; |
62 | 62 |
63 const FilePath& shortcut() const { | 63 const base::FilePath& shortcut() const { |
64 return relaunch_shortcut_; | 64 return relaunch_shortcut_; |
65 } | 65 } |
66 | 66 |
67 private: | 67 private: |
68 OperationType operation_type_; | 68 OperationType operation_type_; |
69 string16 relaunch_flags_; | 69 string16 relaunch_flags_; |
70 FilePath relaunch_shortcut_; | 70 base::FilePath relaunch_shortcut_; |
71 string16 mutex_; | 71 string16 mutex_; |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(DelegateExecuteOperation); | 73 DISALLOW_COPY_AND_ASSIGN(DelegateExecuteOperation); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace delegate_execute | 76 } // namespace delegate_execute |
77 | 77 |
78 #endif // WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_OPERATION_H_ | 78 #endif // WIN8_DELEGATE_EXECUTE_DELEGATE_EXECUTE_OPERATION_H_ |
OLD | NEW |