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

Side by Side Diff: content/renderer/mojo/service_registry_js_wrapper.h

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 #ifndef CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_ 5 #ifndef CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_
6 #define CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_ 6 #define CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 11 matching lines...) Expand all
22 class CONTENT_EXPORT ServiceRegistryJsWrapper 22 class CONTENT_EXPORT ServiceRegistryJsWrapper
23 : public gin::Wrappable<ServiceRegistryJsWrapper> { 23 : public gin::Wrappable<ServiceRegistryJsWrapper> {
24 public: 24 public:
25 virtual ~ServiceRegistryJsWrapper(); 25 virtual ~ServiceRegistryJsWrapper();
26 static gin::Handle<ServiceRegistryJsWrapper> Create( 26 static gin::Handle<ServiceRegistryJsWrapper> Create(
27 v8::Isolate* isolate, 27 v8::Isolate* isolate,
28 ServiceRegistry* service_registry); 28 ServiceRegistry* service_registry);
29 29
30 // gin::Wrappable<ServiceRegistryJsWrapper> overrides. 30 // gin::Wrappable<ServiceRegistryJsWrapper> overrides.
31 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder( 31 virtual gin::ObjectTemplateBuilder GetObjectTemplateBuilder(
32 v8::Isolate* isolate) OVERRIDE; 32 v8::Isolate* isolate) override;
33 33
34 // JS interface implementation. 34 // JS interface implementation.
35 mojo::Handle ConnectToService(const std::string& service_name); 35 mojo::Handle ConnectToService(const std::string& service_name);
36 36
37 static gin::WrapperInfo kWrapperInfo; 37 static gin::WrapperInfo kWrapperInfo;
38 static const char kModuleName[]; 38 static const char kModuleName[];
39 39
40 private: 40 private:
41 explicit ServiceRegistryJsWrapper( 41 explicit ServiceRegistryJsWrapper(
42 base::WeakPtr<ServiceRegistry> service_registry); 42 base::WeakPtr<ServiceRegistry> service_registry);
43 43
44 base::WeakPtr<ServiceRegistry> service_registry_; 44 base::WeakPtr<ServiceRegistry> service_registry_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(ServiceRegistryJsWrapper); 46 DISALLOW_COPY_AND_ASSIGN(ServiceRegistryJsWrapper);
47 }; 47 };
48 48
49 } // namespace content 49 } // namespace content
50 50
51 #endif // CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_ 51 #endif // CONTENT_RENDERER_MOJO_SERVICE_REGISTRY_JS_WRAPPER_H_
OLDNEW
« no previous file with comments | « content/renderer/mhtml_generator.h ('k') | content/renderer/notification_permission_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698