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

Side by Side Diff: chrome/browser/download/download_started_animation_browsertest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/download/download_started_animation.h" 6 #include "chrome/browser/download/download_started_animation.h"
6 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
7 #include "chrome/browser/ui/browser_commands.h" 8 #include "chrome/browser/ui/browser_commands.h"
8 #include "chrome/browser/ui/tabs/tab_strip_model.h" 9 #include "chrome/browser/ui/tabs/tab_strip_model.h"
9 #include "chrome/test/base/in_process_browser_test.h" 10 #include "chrome/test/base/in_process_browser_test.h"
10 11
11 class DownloadStartedAnimationTest : public InProcessBrowserTest { 12 class DownloadStartedAnimationTest : public InProcessBrowserTest {
12 public: 13 public:
13 DownloadStartedAnimationTest() { 14 DownloadStartedAnimationTest() {
14 } 15 }
15 16
16 private: 17 private:
17 DISALLOW_COPY_AND_ASSIGN(DownloadStartedAnimationTest); 18 DISALLOW_COPY_AND_ASSIGN(DownloadStartedAnimationTest);
18 }; 19 };
19 20
20 IN_PROC_BROWSER_TEST_F(DownloadStartedAnimationTest, 21 IN_PROC_BROWSER_TEST_F(DownloadStartedAnimationTest,
21 InstantiateAndImmediatelyClose) { 22 InstantiateAndImmediatelyClose) {
22 content::WebContents* web_contents = 23 content::WebContents* web_contents =
23 browser()->tab_strip_model()->GetActiveWebContents(); 24 browser()->tab_strip_model()->GetActiveWebContents();
24 DownloadStartedAnimation::Show(web_contents); 25 DownloadStartedAnimation::Show(web_contents);
25 chrome::CloseWindow(browser()); 26 chrome::CloseWindow(browser());
26 } 27 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_started_animation.h ('k') | chrome/browser/download/download_status_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698