Added affiliation IDs, that in future will be used to determine user affiliation...
[chromium-blink-merge.git] / chrome / browser / download / download_started_animation_browsertest.cc
blobf6163fb7133ef87838bba462fb54fbe5dc250c16
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
3 // found in the LICENSE file.
5 #include "chrome/browser/download/download_started_animation.h"
6 #include "chrome/browser/ui/browser.h"
7 #include "chrome/browser/ui/browser_commands.h"
8 #include "chrome/browser/ui/tabs/tab_strip_model.h"
9 #include "chrome/test/base/in_process_browser_test.h"
11 class DownloadStartedAnimationTest : public InProcessBrowserTest {
12 public:
13 DownloadStartedAnimationTest() {
16 private:
17 DISALLOW_COPY_AND_ASSIGN(DownloadStartedAnimationTest);
20 IN_PROC_BROWSER_TEST_F(DownloadStartedAnimationTest,
21 InstantiateAndImmediatelyClose) {
22 content::WebContents* web_contents =
23 browser()->tab_strip_model()->GetActiveWebContents();
24 DownloadStartedAnimation::Show(web_contents);
25 chrome::CloseWindow(browser());