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

Unified Diff: mojo/examples/png_viewer/png_viewer.cc

Issue 413353002: Remove extraneous namespaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review nits and merge Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/examples/nesting_app/nesting_app.cc ('k') | mojo/examples/surfaces_app/child.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/png_viewer/png_viewer.cc
diff --git a/mojo/examples/png_viewer/png_viewer.cc b/mojo/examples/png_viewer/png_viewer.cc
index 3996713525e16f5cdaee56c14f0ad4690679757b..2d16aeb476b19faced882a9ecb425eb85f139303 100644
--- a/mojo/examples/png_viewer/png_viewer.cc
+++ b/mojo/examples/png_viewer/png_viewer.cc
@@ -47,17 +47,17 @@ class ZoomableMediaImpl : public InterfaceImpl<ZoomableMedia> {
DISALLOW_COPY_AND_ASSIGN(ZoomableMediaImpl);
};
-class NavigatorImpl : public InterfaceImpl<navigation::Navigator> {
+class NavigatorImpl : public InterfaceImpl<Navigator> {
public:
explicit NavigatorImpl(PNGViewer* viewer) : viewer_(viewer) {}
virtual ~NavigatorImpl() {}
private:
- // Overridden from navigation::Navigate:
+ // Overridden from Navigator:
virtual void Navigate(
uint32_t node_id,
- navigation::NavigationDetailsPtr navigation_details,
- navigation::ResponseDetailsPtr response_details) OVERRIDE {
+ NavigationDetailsPtr navigation_details,
+ ResponseDetailsPtr response_details) OVERRIDE {
int content_length = GetContentLength(response_details->response->headers);
unsigned char* data = new unsigned char[content_length];
unsigned char* buf = data;
@@ -166,7 +166,7 @@ class PNGViewer
// Overridden from ApplicationDelegate:
virtual bool ConfigureIncomingConnection(ApplicationConnection* connection)
MOJO_OVERRIDE {
- connection->AddService<navigation::Navigator>(this);
+ connection->AddService<Navigator>(this);
connection->AddService<ZoomableMedia>(this);
connection->AddService(&view_manager_client_factory_);
return true;
« no previous file with comments | « mojo/examples/nesting_app/nesting_app.cc ('k') | mojo/examples/surfaces_app/child.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698