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

Side by Side Diff: chrome/browser/ui/views/extensions/extension_uninstall_dialog_view_browsertest.cc

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 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 "base/macros.h"
5 #include "base/run_loop.h" 6 #include "base/run_loop.h"
6 #include "chrome/browser/extensions/extension_uninstall_dialog.h" 7 #include "chrome/browser/extensions/extension_uninstall_dialog.h"
7 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
9 #include "chrome/test/base/in_process_browser_test.h" 10 #include "chrome/test/base/in_process_browser_test.h"
10 #include "content/public/test/test_utils.h" 11 #include "content/public/test/test_utils.h"
11 #include "extensions/common/extension.h" 12 #include "extensions/common/extension.h"
12 #include "extensions/common/extension_builder.h" 13 #include "extensions/common/extension_builder.h"
13 #include "extensions/common/value_builder.h" 14 #include "extensions/common/value_builder.h"
14 15
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 &delegate)); 69 &delegate));
69 browser()->window()->Close(); 70 browser()->window()->Close();
70 content::RunAllPendingInMessageLoop(); 71 content::RunAllPendingInMessageLoop();
71 72
72 dialog->ConfirmUninstall(extension.get(), 73 dialog->ConfirmUninstall(extension.get(),
73 extensions::UNINSTALL_REASON_FOR_TESTING, 74 extensions::UNINSTALL_REASON_FOR_TESTING,
74 extensions::UNINSTALL_SOURCE_FOR_TESTING); 75 extensions::UNINSTALL_SOURCE_FOR_TESTING);
75 run_loop.Run(); 76 run_loop.Run();
76 EXPECT_TRUE(delegate.canceled()); 77 EXPECT_TRUE(delegate.canceled());
77 } 78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698