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

Side by Side Diff: sandbox/win/sandbox_poc/main_ui_window.cc

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros Created 4 years, 12 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 | « sandbox/win/sandbox_poc/main_ui_window.h ('k') | sandbox/win/sandbox_poc/pocdll/utils.h » ('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) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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 "sandbox/win/sandbox_poc/main_ui_window.h"
6
5 #include <windows.h> 7 #include <windows.h>
6 #include <CommCtrl.h> 8 #include <CommCtrl.h>
7 #include <commdlg.h> 9 #include <commdlg.h>
8 #include <stdarg.h> 10 #include <stdarg.h>
11 #include <stddef.h>
9 #include <time.h> 12 #include <time.h>
10 #include <windowsx.h> 13 #include <windowsx.h>
11 #include <atlbase.h> 14 #include <atlbase.h>
12 #include <atlsecurity.h> 15 #include <atlsecurity.h>
13 #include <algorithm> 16 #include <algorithm>
14 #include <sstream> 17 #include <sstream>
15 18
16 #include "sandbox/win/sandbox_poc/main_ui_window.h"
17 #include "base/logging.h" 19 #include "base/logging.h"
18 #include "sandbox/win/sandbox_poc/resource.h" 20 #include "sandbox/win/sandbox_poc/resource.h"
19 #include "sandbox/win/src/acl.h" 21 #include "sandbox/win/src/acl.h"
20 #include "sandbox/win/src/sandbox.h" 22 #include "sandbox/win/src/sandbox.h"
21 #include "sandbox/win/src/win_utils.h" 23 #include "sandbox/win/src/win_utils.h"
22 24
23 HWND MainUIWindow::list_view_ = NULL; 25 HWND MainUIWindow::list_view_ = NULL;
24 26
25 const wchar_t MainUIWindow::kDefaultDll_[] = L"\\POCDLL.dll"; 27 const wchar_t MainUIWindow::kDefaultDll_[] = L"\\POCDLL.dll";
26 const wchar_t MainUIWindow::kDefaultEntryPoint_[] = L"Run"; 28 const wchar_t MainUIWindow::kDefaultEntryPoint_[] = L"Run";
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 item.iItem = ListView_GetItemCount(list_view_); 654 item.iItem = ListView_GetItemCount(list_view_);
653 item.iSubItem = 0; 655 item.iSubItem = 0;
654 item.mask = LVIF_TEXT | LVIF_PARAM; 656 item.mask = LVIF_TEXT | LVIF_PARAM;
655 item.pszText = message_time; 657 item.pszText = message_time;
656 item.lParam = 0; 658 item.lParam = 0;
657 659
658 ListView_InsertItem(list_view_, &item); 660 ListView_InsertItem(list_view_, &item);
659 661
660 delete[] message_time; 662 delete[] message_time;
661 } 663 }
OLDNEW
« no previous file with comments | « sandbox/win/sandbox_poc/main_ui_window.h ('k') | sandbox/win/sandbox_poc/pocdll/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698