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

Unified Diff: chrome/browser/ui/views/frame/browser_shutdown.cc

Issue 2015223002: MacViews: Fixed BrowserViewTest.CloseWithTabsStartWithActive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove DestroyBrowserWebContents. Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/frame/browser_shutdown.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_shutdown.cc
diff --git a/chrome/browser/ui/views/frame/browser_shutdown.cc b/chrome/browser/ui/views/frame/browser_shutdown.cc
deleted file mode 100644
index f8028b47cb1f8d9a3be186728e421dd1df806617..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/frame/browser_shutdown.cc
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ui/views/frame/browser_shutdown.h"
-
-#include "base/memory/scoped_vector.h"
-#include "chrome/browser/ui/browser.h"
-#include "chrome/browser/ui/tabs/tab_strip_model.h"
-#include "content/public/browser/web_contents.h"
-
-void DestroyBrowserWebContents(Browser* browser) {
- ScopedVector<content::WebContents> contents;
- while (browser->tab_strip_model()->count())
- contents.push_back(browser->tab_strip_model()->DetachWebContentsAt(0));
-}
« no previous file with comments | « chrome/browser/ui/views/frame/browser_shutdown.h ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698