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

Side by Side Diff: chrome/browser/nacl_host/nacl_browser_delegate_impl.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_
6 #define CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ 6 #define CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "components/nacl/browser/nacl_browser_delegate.h" 12 #include "components/nacl/browser/nacl_browser_delegate.h"
13 #include "extensions/common/url_pattern.h" 13 #include "extensions/common/url_pattern.h"
14 14
15 namespace extensions { 15 namespace extensions {
16 class InfoMap; 16 class InfoMap;
17 } 17 }
18 18
19 class ProfileManager; 19 class ProfileManager;
20 20
21 class NaClBrowserDelegateImpl : public NaClBrowserDelegate { 21 class NaClBrowserDelegateImpl : public NaClBrowserDelegate {
22 public: 22 public:
23 explicit NaClBrowserDelegateImpl(ProfileManager* profile_manager); 23 explicit NaClBrowserDelegateImpl(ProfileManager* profile_manager);
24 virtual ~NaClBrowserDelegateImpl(); 24 virtual ~NaClBrowserDelegateImpl();
25 25
26 virtual void ShowMissingArchInfobar(int render_process_id, 26 virtual void ShowMissingArchInfobar(int render_process_id,
27 int render_view_id) OVERRIDE; 27 int render_view_id) override;
28 virtual bool DialogsAreSuppressed() OVERRIDE; 28 virtual bool DialogsAreSuppressed() override;
29 virtual bool GetCacheDirectory(base::FilePath* cache_dir) OVERRIDE; 29 virtual bool GetCacheDirectory(base::FilePath* cache_dir) override;
30 virtual bool GetPluginDirectory(base::FilePath* plugin_dir) OVERRIDE; 30 virtual bool GetPluginDirectory(base::FilePath* plugin_dir) override;
31 virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) OVERRIDE; 31 virtual bool GetPnaclDirectory(base::FilePath* pnacl_dir) override;
32 virtual bool GetUserDirectory(base::FilePath* user_dir) OVERRIDE; 32 virtual bool GetUserDirectory(base::FilePath* user_dir) override;
33 virtual std::string GetVersionString() const OVERRIDE; 33 virtual std::string GetVersionString() const override;
34 virtual ppapi::host::HostFactory* CreatePpapiHostFactory( 34 virtual ppapi::host::HostFactory* CreatePpapiHostFactory(
35 content::BrowserPpapiHost* ppapi_host) OVERRIDE; 35 content::BrowserPpapiHost* ppapi_host) override;
36 virtual bool MapUrlToLocalFilePath(const GURL& url, 36 virtual bool MapUrlToLocalFilePath(const GURL& url,
37 bool is_blocking, 37 bool is_blocking,
38 const base::FilePath& profile_directory, 38 const base::FilePath& profile_directory,
39 base::FilePath* file_path) OVERRIDE; 39 base::FilePath* file_path) override;
40 virtual void SetDebugPatterns(std::string debug_patterns) OVERRIDE; 40 virtual void SetDebugPatterns(std::string debug_patterns) override;
41 virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) OVERRIDE; 41 virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) override;
42 virtual content::BrowserPpapiHost::OnKeepaliveCallback 42 virtual content::BrowserPpapiHost::OnKeepaliveCallback
43 GetOnKeepaliveCallback() OVERRIDE; 43 GetOnKeepaliveCallback() override;
44 virtual bool IsNonSfiModeAllowed(const base::FilePath& profile_directory, 44 virtual bool IsNonSfiModeAllowed(const base::FilePath& profile_directory,
45 const GURL& manifest_url) OVERRIDE; 45 const GURL& manifest_url) override;
46 46
47 private: 47 private:
48 #if defined(ENABLE_EXTENSIONS) 48 #if defined(ENABLE_EXTENSIONS)
49 scoped_refptr<extensions::InfoMap> GetExtensionInfoMap( 49 scoped_refptr<extensions::InfoMap> GetExtensionInfoMap(
50 const base::FilePath& profile_directory); 50 const base::FilePath& profile_directory);
51 #endif 51 #endif
52 52
53 ProfileManager* profile_manager_; 53 ProfileManager* profile_manager_;
54 std::vector<URLPattern> debug_patterns_; 54 std::vector<URLPattern> debug_patterns_;
55 bool inverse_debug_patterns_; 55 bool inverse_debug_patterns_;
56 std::set<std::string> allowed_nonsfi_origins_; 56 std::set<std::string> allowed_nonsfi_origins_;
57 DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl); 57 DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl);
58 }; 58 };
59 59
60 60
61 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ 61 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698