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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin_browsertest.h

Issue 10912054: Adding parsing for partition and persistence attributes to the <browser> tag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_BROWSERETEST_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_BROWSERETEST_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_BROWSERETEST_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_BROWSERETEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 13 matching lines...) Expand all
24 public: 24 public:
25 BrowserPluginTest(); 25 BrowserPluginTest();
26 virtual ~BrowserPluginTest(); 26 virtual ~BrowserPluginTest();
27 27
28 virtual void SetUp() OVERRIDE; 28 virtual void SetUp() OVERRIDE;
29 virtual void TearDown() OVERRIDE; 29 virtual void TearDown() OVERRIDE;
30 MockBrowserPluginManager* browser_plugin_manager() const { 30 MockBrowserPluginManager* browser_plugin_manager() const {
31 return browser_plugin_manager_.get(); 31 return browser_plugin_manager_.get();
32 } 32 }
33 std::string ExecuteScriptAndReturnString(const std::string& script); 33 std::string ExecuteScriptAndReturnString(const std::string& script);
34 bool ExecuteScriptAndReturnBool(const std::string& script, bool& result);
34 private: 35 private:
35 scoped_ptr<MockBrowserPluginManager> browser_plugin_manager_; 36 scoped_ptr<MockBrowserPluginManager> browser_plugin_manager_;
36 ContentRendererClient content_renderer_client_; 37 ContentRendererClient content_renderer_client_;
37 }; 38 };
38 39
39 } // namespace content 40 } // namespace content
40 41
41 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_BROWSERETEST_H_ 42 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_BROWSERETEST_H_
42 43
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698