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

Side by Side Diff: chrome/test/base/in_process_browser_test.h

Issue 2592793002: Revert of Change how the quota system computes the total poolsize for temporary storage (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « chrome/test/DEPS ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_ 5 #ifndef CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_
6 #define CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_ 6 #define CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
15 #include "content/public/test/browser_test.h" 15 #include "content/public/test/browser_test.h"
16 #include "content/public/test/browser_test_base.h" 16 #include "content/public/test/browser_test_base.h"
17 #include "storage/browser/quota/quota_settings.h"
18 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
19 #include "ui/base/page_transition_types.h" 18 #include "ui/base/page_transition_types.h"
20 19
21 namespace base { 20 namespace base {
22 21
23 class CommandLine; 22 class CommandLine;
24 23
25 #if defined(OS_MACOSX) 24 #if defined(OS_MACOSX)
26 namespace mac { 25 namespace mac {
27 class ScopedNSAutoreleasePool; 26 class ScopedNSAutoreleasePool;
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 // True if we should exit the tests after the last browser instance closes. 253 // True if we should exit the tests after the last browser instance closes.
255 bool exit_when_last_browser_closes_; 254 bool exit_when_last_browser_closes_;
256 255
257 // True if the about:blank tab should be opened when the browser is launched. 256 // True if the about:blank tab should be opened when the browser is launched.
258 bool open_about_blank_on_browser_launch_; 257 bool open_about_blank_on_browser_launch_;
259 258
260 // True if the accessibility test should run for a particular test case. 259 // True if the accessibility test should run for a particular test case.
261 // This is reset for every test case. 260 // This is reset for every test case.
262 bool run_accessibility_checks_for_test_case_; 261 bool run_accessibility_checks_for_test_case_;
263 262
264 // We use hardcoded quota settings to have a consistent testing environment.
265 storage::QuotaSettings quota_settings_;
266
267 #if defined(OS_MACOSX) 263 #if defined(OS_MACOSX)
268 base::mac::ScopedNSAutoreleasePool* autorelease_pool_; 264 base::mac::ScopedNSAutoreleasePool* autorelease_pool_;
269 std::unique_ptr<ScopedBundleSwizzlerMac> bundle_swizzler_; 265 std::unique_ptr<ScopedBundleSwizzlerMac> bundle_swizzler_;
270 #endif // OS_MACOSX 266 #endif // OS_MACOSX
271 267
272 #if defined(OS_WIN) 268 #if defined(OS_WIN)
273 std::unique_ptr<base::win::ScopedCOMInitializer> com_initializer_; 269 std::unique_ptr<base::win::ScopedCOMInitializer> com_initializer_;
274 #endif 270 #endif
275 }; 271 };
276 272
277 #endif // CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_ 273 #endif // CHROME_TEST_BASE_IN_PROCESS_BROWSER_TEST_H_
OLDNEW
« no previous file with comments | « chrome/test/DEPS ('k') | chrome/test/base/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698