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

Side by Side Diff: components/dom_distiller/content/distiller_page_web_contents.h

Issue 107383002: Use base namespace for string16 in components and cloud_print. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_DOM_DISTILLER_CONTENT_DISTILLER_PAGE_WEB_CONTENTS_H_ 5 #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_DISTILLER_PAGE_WEB_CONTENTS_H_
6 #define COMPONENTS_DOM_DISTILLER_CONTENT_DISTILLER_PAGE_WEB_CONTENTS_H_ 6 #define COMPONENTS_DOM_DISTILLER_CONTENT_DISTILLER_PAGE_WEB_CONTENTS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "components/dom_distiller/core/distiller_page.h" 9 #include "components/dom_distiller/core/distiller_page.h"
10 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // content::WebContentsObserver implementation. 45 // content::WebContentsObserver implementation.
46 virtual void DidFinishLoad(int64 frame_id, 46 virtual void DidFinishLoad(int64 frame_id,
47 const GURL& validated_url, 47 const GURL& validated_url,
48 bool is_main_frame, 48 bool is_main_frame,
49 RenderViewHost* render_view_host) OVERRIDE; 49 RenderViewHost* render_view_host) OVERRIDE;
50 50
51 virtual void DidFailLoad(int64 frame_id, 51 virtual void DidFailLoad(int64 frame_id,
52 const GURL& validated_url, 52 const GURL& validated_url,
53 bool is_main_frame, 53 bool is_main_frame,
54 int error_code, 54 int error_code,
55 const string16& error_description, 55 const base::string16& error_description,
56 RenderViewHost* render_view_host) OVERRIDE; 56 RenderViewHost* render_view_host) OVERRIDE;
57 57
58 protected: 58 protected:
59 virtual void InitImpl() OVERRIDE; 59 virtual void InitImpl() OVERRIDE;
60 virtual void LoadURLImpl(const GURL& gurl) OVERRIDE; 60 virtual void LoadURLImpl(const GURL& gurl) OVERRIDE;
61 virtual void ExecuteJavaScriptImpl(const std::string& script) OVERRIDE; 61 virtual void ExecuteJavaScriptImpl(const std::string& script) OVERRIDE;
62 62
63 private: 63 private:
64 scoped_ptr<content::WebContents> web_contents_; 64 scoped_ptr<content::WebContents> web_contents_;
65 content::BrowserContext* browser_context_; 65 content::BrowserContext* browser_context_;
66 DISALLOW_COPY_AND_ASSIGN(DistillerPageWebContents); 66 DISALLOW_COPY_AND_ASSIGN(DistillerPageWebContents);
67 }; 67 };
68 68
69 } // namespace dom_distiller 69 } // namespace dom_distiller
70 70
71 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_DISTILLER_PAGE_WEB_CONTENTS_H_ 71 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_DISTILLER_PAGE_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « components/breakpad/app/hard_error_handler_win.cc ('k') | components/dom_distiller/content/distiller_page_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698