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

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

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | 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 #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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 68 }
69 69
70 // Get the profile to use. 70 // Get the profile to use.
71 virtual Profile* profile(); 71 virtual Profile* profile();
72 72
73 static const extensions::Extension* GetExtensionByPath( 73 static const extensions::Extension* GetExtensionByPath(
74 const extensions::ExtensionSet* extensions, const base::FilePath& path); 74 const extensions::ExtensionSet* extensions, const base::FilePath& path);
75 75
76 // InProcessBrowserTest 76 // InProcessBrowserTest
77 virtual void SetUp() OVERRIDE; 77 virtual void SetUp() OVERRIDE;
78 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; 78 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE;
79 virtual void SetUpOnMainThread() OVERRIDE; 79 virtual void SetUpOnMainThread() OVERRIDE;
80 80
81 const extensions::Extension* LoadExtension(const base::FilePath& path); 81 const extensions::Extension* LoadExtension(const base::FilePath& path);
82 82
83 // Same as above, but enables the extension in incognito mode first. 83 // Same as above, but enables the extension in incognito mode first.
84 const extensions::Extension* LoadExtensionIncognito( 84 const extensions::Extension* LoadExtensionIncognito(
85 const base::FilePath& path); 85 const base::FilePath& path);
86 86
87 const extensions::Extension* LoadExtensionWithFlags( 87 const extensions::Extension* LoadExtensionWithFlags(
88 const base::FilePath& path, int flags); 88 const base::FilePath& path, int flags);
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 override_prompt_for_external_extensions_; 342 override_prompt_for_external_extensions_;
343 343
344 // The default profile to be used. 344 // The default profile to be used.
345 Profile* profile_; 345 Profile* profile_;
346 346
347 // Cache cache implementation. 347 // Cache cache implementation.
348 scoped_ptr<extensions::ExtensionCacheFake> test_extension_cache_; 348 scoped_ptr<extensions::ExtensionCacheFake> test_extension_cache_;
349 }; 349 };
350 350
351 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ 351 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_apitest.h ('k') | chrome/browser/extensions/extension_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698