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

Side by Side Diff: content/browser/renderer_host/java/java_bridge_channel_host.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_CHANNEL_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_CHANNEL_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_CHANNEL_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_CHANNEL_HOST_H_
7 #pragma once
8 7
9 #include "content/common/np_channel_base.h" 8 #include "content/common/np_channel_base.h"
10 9
11 class JavaBridgeChannelHost : public NPChannelBase { 10 class JavaBridgeChannelHost : public NPChannelBase {
12 public: 11 public:
13 static JavaBridgeChannelHost* GetJavaBridgeChannelHost( 12 static JavaBridgeChannelHost* GetJavaBridgeChannelHost(
14 int renderer_id, 13 int renderer_id,
15 base::MessageLoopProxy* ipc_message_loop); 14 base::MessageLoopProxy* ipc_message_loop);
16 15
17 // A threadsafe function to generate a unique route ID. Used by the 16 // A threadsafe function to generate a unique route ID. Used by the
(...skipping 22 matching lines...) Expand all
40 return new JavaBridgeChannelHost(); 39 return new JavaBridgeChannelHost();
41 } 40 }
42 41
43 // Message handlers 42 // Message handlers
44 void OnGenerateRouteID(int* route_id); 43 void OnGenerateRouteID(int* route_id);
45 44
46 DISALLOW_COPY_AND_ASSIGN(JavaBridgeChannelHost); 45 DISALLOW_COPY_AND_ASSIGN(JavaBridgeChannelHost);
47 }; 46 };
48 47
49 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_CHANNEL_HOST_H_ 48 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_BRIDGE_CHANNEL_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698