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

Side by Side Diff: content/browser/browser_plugin/test_browser_plugin_embedder.h

Issue 10982068: Browser Plugin: Remove unnecessary references to frame_id (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_EMBEDDER_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_EMBEDDER_H_
6 #define CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_EMBEDDER_H_ 6 #define CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_EMBEDDER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/browser/browser_plugin/browser_plugin_embedder.h" 9 #include "content/browser/browser_plugin/browser_plugin_embedder.h"
10 #include "content/public/test/test_utils.h" 10 #include "content/public/test/test_utils.h"
(...skipping 18 matching lines...) Expand all
29 const ContainerInstanceMap& guest_web_contents_for_testing() const { 29 const ContainerInstanceMap& guest_web_contents_for_testing() const {
30 return guest_web_contents_by_instance_id_; 30 return guest_web_contents_by_instance_id_;
31 } 31 }
32 32
33 // Waits until at least one guest is added to this embedder. 33 // Waits until at least one guest is added to this embedder.
34 void WaitForGuestAdded(); 34 void WaitForGuestAdded();
35 35
36 private: 36 private:
37 // Overridden to intercept in test. 37 // Overridden to intercept in test.
38 virtual void AddGuest(int instance_id, 38 virtual void AddGuest(int instance_id,
39 WebContents* guest_web_contents, 39 WebContents* guest_web_contents) OVERRIDE;
40 int64 frame_id) OVERRIDE;
41 40
42 scoped_refptr<MessageLoopRunner> message_loop_runner_; 41 scoped_refptr<MessageLoopRunner> message_loop_runner_;
43 42
44 DISALLOW_COPY_AND_ASSIGN(TestBrowserPluginEmbedder); 43 DISALLOW_COPY_AND_ASSIGN(TestBrowserPluginEmbedder);
45 }; 44 };
46 45
47 } // namespace content 46 } // namespace content
48 47
49 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_EMBEDDER_H_ 48 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_TEST_BROWSER_PLUGIN_EMBEDDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698