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

Side by Side Diff: content/public/test/frame_load_waiter.h

Issue 251903006: Attempt 2 to enable async data: URL loading. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better fix for BrowserPlugin tests from lazyboy@ Created 6 years, 7 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
jam 2014/04/30 16:08:19 note: the guidelines for what goes in content/publ
dcheng 2014/04/30 17:56:06 Moved to content/test (RenderViewTest needs this a
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/macros.h"
6 #include "base/run_loop.h"
7 #include "content/public/renderer/render_view_observer.h"
8
9 namespace content {
10
11 class FrameLoadWaiter : public content::RenderViewObserver {
sky 2014/04/30 13:30:59 Add description.
dcheng 2014/04/30 17:56:06 Done.
12 public:
13 explicit FrameLoadWaiter(RenderView* view);
14 void Wait();
15
16 private:
17 virtual void DidFinishLoad(blink::WebLocalFrame* frame) OVERRIDE;
18
19 base::RunLoop run_loop_;
20
21 DISALLOW_COPY_AND_ASSIGN(FrameLoadWaiter);
22 };
23
24 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698