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

Side by Side Diff: chrome/test/base/ui_test_utils.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, 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 | « chrome/test/base/ui_test_utils.h ('k') | chrome/test/base/view_event_test_base.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) 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 #include "chrome/test/base/ui_test_utils.h" 5 #include "chrome/test/base/ui_test_utils.h"
6 6
7 #if defined(OS_WIN) 7 #include <stddef.h>
8 #include <windows.h>
9 #endif
10 8
11 #include "base/bind.h" 9 #include "base/bind.h"
12 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
13 #include "base/callback.h" 11 #include "base/callback.h"
14 #include "base/command_line.h" 12 #include "base/command_line.h"
15 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
16 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/macros.h"
17 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
18 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
19 #include "base/path_service.h" 18 #include "base/path_service.h"
20 #include "base/prefs/pref_service.h" 19 #include "base/prefs/pref_service.h"
21 #include "base/strings/stringprintf.h" 20 #include "base/strings/stringprintf.h"
22 #include "base/strings/utf_string_conversions.h" 21 #include "base/strings/utf_string_conversions.h"
23 #include "base/test/test_timeouts.h" 22 #include "base/test/test_timeouts.h"
24 #include "base/time/time.h" 23 #include "base/time/time.h"
24 #include "build/build_config.h"
25 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 25 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
26 #include "chrome/browser/chrome_notification_types.h" 26 #include "chrome/browser/chrome_notification_types.h"
27 #include "chrome/browser/history/history_service_factory.h" 27 #include "chrome/browser/history/history_service_factory.h"
28 #include "chrome/browser/profiles/profile.h" 28 #include "chrome/browser/profiles/profile.h"
29 #include "chrome/browser/ui/browser.h" 29 #include "chrome/browser/ui/browser.h"
30 #include "chrome/browser/ui/browser_commands.h" 30 #include "chrome/browser/ui/browser_commands.h"
31 #include "chrome/browser/ui/browser_finder.h" 31 #include "chrome/browser/ui/browser_finder.h"
32 #include "chrome/browser/ui/browser_iterator.h" 32 #include "chrome/browser/ui/browser_iterator.h"
33 #include "chrome/browser/ui/browser_list.h" 33 #include "chrome/browser/ui/browser_list.h"
34 #include "chrome/browser/ui/browser_navigator.h" 34 #include "chrome/browser/ui/browser_navigator.h"
(...skipping 29 matching lines...) Expand all
64 #include "content/public/test/test_utils.h" 64 #include "content/public/test/test_utils.h"
65 #include "net/base/filename_util.h" 65 #include "net/base/filename_util.h"
66 #include "net/cookies/cookie_constants.h" 66 #include "net/cookies/cookie_constants.h"
67 #include "net/cookies/cookie_monster.h" 67 #include "net/cookies/cookie_monster.h"
68 #include "net/cookies/cookie_store.h" 68 #include "net/cookies/cookie_store.h"
69 #include "net/test/python_utils.h" 69 #include "net/test/python_utils.h"
70 #include "net/url_request/url_request_context.h" 70 #include "net/url_request/url_request_context.h"
71 #include "net/url_request/url_request_context_getter.h" 71 #include "net/url_request/url_request_context_getter.h"
72 #include "ui/gfx/geometry/rect.h" 72 #include "ui/gfx/geometry/rect.h"
73 73
74 #if defined(OS_WIN)
75 #include <windows.h>
76 #endif
77
74 #if defined(USE_AURA) 78 #if defined(USE_AURA)
75 #include "ash/shell.h" 79 #include "ash/shell.h"
76 #include "ui/aura/window_event_dispatcher.h" 80 #include "ui/aura/window_event_dispatcher.h"
77 #endif 81 #endif
78 82
79 using content::NavigationController; 83 using content::NavigationController;
80 using content::NavigationEntry; 84 using content::NavigationEntry;
81 using content::OpenURLParams; 85 using content::OpenURLParams;
82 using content::Referrer; 86 using content::Referrer;
83 using content::WebContents; 87 using content::WebContents;
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 new content::MessageLoopRunner; 530 new content::MessageLoopRunner;
527 WaitHistoryLoadedObserver observer(runner.get()); 531 WaitHistoryLoadedObserver observer(runner.get());
528 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> 532 ScopedObserver<history::HistoryService, history::HistoryServiceObserver>
529 scoped_observer(&observer); 533 scoped_observer(&observer);
530 scoped_observer.Add(history_service); 534 scoped_observer.Add(history_service);
531 runner->Run(); 535 runner->Run();
532 } 536 }
533 } 537 }
534 538
535 } // namespace ui_test_utils 539 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/test/base/ui_test_utils.h ('k') | chrome/test/base/view_event_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698