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

Side by Side Diff: apps/custom_launcher_page_contents.cc

Issue 403573003: Clean-up coding style at apps folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "apps/custom_launcher_page_contents.h" 5 #include "apps/custom_launcher_page_contents.h"
6 6
7 #include <string>
8
7 #include "chrome/browser/chrome_notification_types.h" 9 #include "chrome/browser/chrome_notification_types.h"
8 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h" 10 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h"
9 #include "content/public/browser/browser_context.h" 11 #include "content/public/browser/browser_context.h"
10 #include "content/public/browser/render_view_host.h" 12 #include "content/public/browser/render_view_host.h"
11 #include "content/public/browser/site_instance.h" 13 #include "content/public/browser/site_instance.h"
12 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
13 #include "content/public/common/renderer_preferences.h" 15 #include "content/public/common/renderer_preferences.h"
14 #include "extensions/common/extension_messages.h" 16 #include "extensions/common/extension_messages.h"
15 17
16 namespace apps { 18 namespace apps {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 return web_contents(); 69 return web_contents();
68 } 70 }
69 71
70 void CustomLauncherPageContents::OnRequest( 72 void CustomLauncherPageContents::OnRequest(
71 const ExtensionHostMsg_Request_Params& params) { 73 const ExtensionHostMsg_Request_Params& params) {
72 extension_function_dispatcher_->Dispatch(params, 74 extension_function_dispatcher_->Dispatch(params,
73 web_contents_->GetRenderViewHost()); 75 web_contents_->GetRenderViewHost());
74 } 76 }
75 77
76 } // namespace apps 78 } // namespace apps
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698