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

Side by Side Diff: extensions/renderer/web_ui_injection_host.h

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 4 years, 12 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
« no previous file with comments | « extensions/renderer/wake_event_page.cc ('k') | extensions/shell/app/shell_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 EXTENSIONS_RENDERER_WEBUI_INJECTION_HOST_H_ 5 #ifndef EXTENSIONS_RENDERER_WEBUI_INJECTION_HOST_H_
6 #define EXTENSIONS_RENDERER_WEBUI_INJECTION_HOST_H_ 6 #define EXTENSIONS_RENDERER_WEBUI_INJECTION_HOST_H_
7 7
8 #include "base/macros.h"
8 #include "extensions/renderer/injection_host.h" 9 #include "extensions/renderer/injection_host.h"
9 10
10 class WebUIInjectionHost : public InjectionHost { 11 class WebUIInjectionHost : public InjectionHost {
11 public: 12 public:
12 WebUIInjectionHost(const HostID& host_id); 13 WebUIInjectionHost(const HostID& host_id);
13 ~WebUIInjectionHost() override; 14 ~WebUIInjectionHost() override;
14 15
15 private: 16 private:
16 // InjectionHost: 17 // InjectionHost:
17 std::string GetContentSecurityPolicy() const override; 18 std::string GetContentSecurityPolicy() const override;
18 const GURL& url() const override; 19 const GURL& url() const override;
19 const std::string& name() const override; 20 const std::string& name() const override;
20 extensions::PermissionsData::AccessType CanExecuteOnFrame( 21 extensions::PermissionsData::AccessType CanExecuteOnFrame(
21 const GURL& document_url, 22 const GURL& document_url,
22 content::RenderFrame* render_frame, 23 content::RenderFrame* render_frame,
23 int tab_id, 24 int tab_id,
24 bool is_declarative) const override; 25 bool is_declarative) const override;
25 26
26 private: 27 private:
27 GURL url_; 28 GURL url_;
28 29
29 DISALLOW_COPY_AND_ASSIGN(WebUIInjectionHost); 30 DISALLOW_COPY_AND_ASSIGN(WebUIInjectionHost);
30 }; 31 };
31 32
32 #endif // EXTENSIONS_RENDERER_WEBUI_INJECTION_HOST_H_ 33 #endif // EXTENSIONS_RENDERER_WEBUI_INJECTION_HOST_H_
OLDNEW
« no previous file with comments | « extensions/renderer/wake_event_page.cc ('k') | extensions/shell/app/shell_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698