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

Side by Side Diff: chrome/test/base/always_on_top_window_killer_win.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/test/base/always_on_top_window_killer_win.h" 5 #include "chrome/test/base/always_on_top_window_killer_win.h"
6 6
7 #include <Windows.h> 7 #include <Windows.h>
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
12 13
13 namespace { 14 namespace {
14 15
15 const char kDialogFoundBeforeTest[] = 16 const char kDialogFoundBeforeTest[] =
16 "There is an always on top dialog on the desktop. This was most likely " 17 "There is an always on top dialog on the desktop. This was most likely "
17 "caused by a previous test and may cause this test to fail. Trying to " 18 "caused by a previous test and may cause this test to fail. Trying to "
18 "close it."; 19 "close it.";
19 20
20 const char kDialogFoundPostTest[] = 21 const char kDialogFoundPostTest[] =
21 "There is an always on top dialog on the desktop after running this test. " 22 "There is an always on top dialog on the desktop after running this test. "
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 73 }
73 } 74 }
74 return kContinueIterating; 75 return kContinueIterating;
75 } 76 }
76 77
77 } // namespace 78 } // namespace
78 79
79 void KillAlwaysOnTopWindows(RunType run_type) { 80 void KillAlwaysOnTopWindows(RunType run_type) {
80 EnumWindows(AlwaysOnTopWindowProc, reinterpret_cast<LPARAM>(&run_type)); 81 EnumWindows(AlwaysOnTopWindowProc, reinterpret_cast<LPARAM>(&run_type));
81 } 82 }
OLDNEW
« no previous file with comments | « chrome/service/service_utility_process_host.cc ('k') | chrome/test/base/browser_with_test_window_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698