| Index: content/browser/renderer_host/render_view_host_factory.h
 | 
| diff --git a/content/browser/renderer_host/render_view_host_factory.h b/content/browser/renderer_host/render_view_host_factory.h
 | 
| index 62b23900d6ae1219c5ceddc3b9f1fc4b7f9bda4e..a6f7dd5e6ce6b1257e79194f942c473167b1bbe1 100644
 | 
| --- a/content/browser/renderer_host/render_view_host_factory.h
 | 
| +++ b/content/browser/renderer_host/render_view_host_factory.h
 | 
| @@ -39,6 +39,18 @@ class RenderViewHostFactory {
 | 
|      return !!factory_;
 | 
|    }
 | 
|  
 | 
| +  // Returns true if the RenderViewHost instance is not a test instance.
 | 
| +  CONTENT_EXPORT static bool is_real_render_view_host() {
 | 
| +    return is_real_render_view_host_;
 | 
| +  }
 | 
| +
 | 
| +  // Sets the is_real_render_view_host flag which indicates that the
 | 
| +  // RenderViewHost instance is not a test instance.
 | 
| +  CONTENT_EXPORT static void set_is_real_render_view_host(
 | 
| +      bool is_real_render_view_host) {
 | 
| +    is_real_render_view_host_ = is_real_render_view_host;
 | 
| +  }
 | 
| +
 | 
|   protected:
 | 
|    RenderViewHostFactory() {}
 | 
|    virtual ~RenderViewHostFactory() {}
 | 
| @@ -67,6 +79,10 @@ class RenderViewHostFactory {
 | 
|    // create the default RenderViewHosts.
 | 
|    CONTENT_EXPORT static RenderViewHostFactory* factory_;
 | 
|  
 | 
| +  // Set to true if the RenderViewHost is not a test instance. Defaults to
 | 
| +  // false.
 | 
| +  CONTENT_EXPORT static bool is_real_render_view_host_;
 | 
| +
 | 
|    DISALLOW_COPY_AND_ASSIGN(RenderViewHostFactory);
 | 
|  };
 | 
|  
 | 
| 
 |