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

Side by Side Diff: chrome/browser/extensions/web_view_browsertest.cc

Issue 11117011: Keep browser process alive while there are platform apps with background pages running. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test Created 8 years, 1 month 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 | Annotate | Revision Log
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/browser/automation/automation_util.h" 5 #include "chrome/browser/automation/automation_util.h"
6 #include "chrome/browser/extensions/platform_app_browsertest_util.h" 6 #include "chrome/browser/extensions/platform_app_browsertest_util.h"
7 #include "chrome/browser/ui/browser_tabstrip.h" 7 #include "chrome/browser/ui/browser_tabstrip.h"
8 #include "chrome/test/base/ui_test_utils.h" 8 #include "chrome/test/base/ui_test_utils.h"
9 #include "chrome/test/base/test_launcher_utils.h" 9 #include "chrome/test/base/test_launcher_utils.h"
10 #include "content/public/browser/notification_service.h" 10 #include "content/public/browser/notification_service.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // we have only one per browser tag and they are not the same. 104 // we have only one per browser tag and they are not the same.
105 automation_util::GetCookies(GURL("http://localhost"), 105 automation_util::GetCookies(GURL("http://localhost"),
106 source1->GetWebContents(), 106 source1->GetWebContents(),
107 &cookie_size, &cookie_value); 107 &cookie_size, &cookie_value);
108 EXPECT_EQ("guest1=true", cookie_value); 108 EXPECT_EQ("guest1=true", cookie_value);
109 109
110 automation_util::GetCookies(GURL("http://localhost"), 110 automation_util::GetCookies(GURL("http://localhost"),
111 source2->GetWebContents(), 111 source2->GetWebContents(),
112 &cookie_size, &cookie_value); 112 &cookie_size, &cookie_value);
113 EXPECT_EQ("guest2=true", cookie_value); 113 EXPECT_EQ("guest2=true", cookie_value);
114 CloseShellWindowsAndWaitForAppToExit();
114 } 115 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698