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

Side by Side Diff: chrome/browser/extensions/extension_browsertest.h

Issue 1275623004: [Extensions] Expand testing overrides for extension warning bubbles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_browsertest.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_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual Profile* profile(); 72 virtual Profile* profile();
73 73
74 static const extensions::Extension* GetExtensionByPath( 74 static const extensions::Extension* GetExtensionByPath(
75 const extensions::ExtensionSet& extensions, 75 const extensions::ExtensionSet& extensions,
76 const base::FilePath& path); 76 const base::FilePath& path);
77 77
78 // InProcessBrowserTest 78 // InProcessBrowserTest
79 void SetUp() override; 79 void SetUp() override;
80 void SetUpCommandLine(base::CommandLine* command_line) override; 80 void SetUpCommandLine(base::CommandLine* command_line) override;
81 void SetUpOnMainThread() override; 81 void SetUpOnMainThread() override;
82 void TearDownOnMainThread() override;
82 83
83 const extensions::Extension* LoadExtension(const base::FilePath& path); 84 const extensions::Extension* LoadExtension(const base::FilePath& path);
84 85
85 // Load extension and enable it in incognito mode. 86 // Load extension and enable it in incognito mode.
86 const extensions::Extension* LoadExtensionIncognito( 87 const extensions::Extension* LoadExtensionIncognito(
87 const base::FilePath& path); 88 const base::FilePath& path);
88 89
89 // Load extension from the |path| folder. |flags| is bit mask of values from 90 // Load extension from the |path| folder. |flags| is bit mask of values from
90 // |Flags| enum. 91 // |Flags| enum.
91 const extensions::Extension* LoadExtensionWithFlags( 92 const extensions::Extension* LoadExtensionWithFlags(
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 #endif 401 #endif
401 402
402 // The default profile to be used. 403 // The default profile to be used.
403 Profile* profile_; 404 Profile* profile_;
404 405
405 // Cache cache implementation. 406 // Cache cache implementation.
406 scoped_ptr<extensions::ExtensionCacheFake> test_extension_cache_; 407 scoped_ptr<extensions::ExtensionCacheFake> test_extension_cache_;
407 }; 408 };
408 409
409 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ 410 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698