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

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: Use ProfileDependencyManager to create PlatformAppService 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/common/chrome_switches.h" 8 #include "chrome/common/chrome_switches.h"
9 #include "chrome/test/base/ui_test_utils.h" 9 #include "chrome/test/base/ui_test_utils.h"
10 #include "chrome/test/base/test_launcher_utils.h" 10 #include "chrome/test/base/test_launcher_utils.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // tags. 109 // tags.
110 automation_util::GetCookies(GURL("http://localhost"), 110 automation_util::GetCookies(GURL("http://localhost"),
111 source1->GetWebContents(), 111 source1->GetWebContents(),
112 &cookie_size, &cookie_value); 112 &cookie_size, &cookie_value);
113 EXPECT_EQ("guest1=true; guest2=true", cookie_value); 113 EXPECT_EQ("guest1=true; guest2=true", cookie_value);
114 114
115 automation_util::GetCookies(GURL("http://localhost"), 115 automation_util::GetCookies(GURL("http://localhost"),
116 source2->GetWebContents(), 116 source2->GetWebContents(),
117 &cookie_size, &cookie_value); 117 &cookie_size, &cookie_value);
118 EXPECT_EQ("guest1=true; guest2=true", cookie_value); 118 EXPECT_EQ("guest1=true; guest2=true", cookie_value);
119 CloseShellWindowsAndWaitForAppToExit();
119 } 120 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698