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

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

Issue 831813004: Get nacl building again for android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove process launcher change Created 5 years, 11 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"
Lei Zhang 2015/01/21 21:32:22 nit: blank line to separate the #if from the above
sehr 2015/01/22 19:57:22 Done.
13 #if defined(ENABLE_EXTENSIONS)
13 #include "extensions/common/url_pattern.h" 14 #include "extensions/common/url_pattern.h"
15 #endif
14 16
15 namespace extensions { 17 namespace extensions {
bbudge 2015/01/21 21:22:07 It seems strange that this isn't in the above #ifd
sehr 2015/01/22 19:57:22 Merged into the ifdef.
16 class InfoMap; 18 class InfoMap;
17 } 19 }
18 20
19 class ProfileManager; 21 class ProfileManager;
20 22
21 class NaClBrowserDelegateImpl : public NaClBrowserDelegate { 23 class NaClBrowserDelegateImpl : public NaClBrowserDelegate {
22 public: 24 public:
23 explicit NaClBrowserDelegateImpl(ProfileManager* profile_manager); 25 explicit NaClBrowserDelegateImpl(ProfileManager* profile_manager);
24 ~NaClBrowserDelegateImpl() override; 26 ~NaClBrowserDelegateImpl() override;
25 27
(...skipping 18 matching lines...) Expand all
44 bool IsNonSfiModeAllowed(const base::FilePath& profile_directory, 46 bool IsNonSfiModeAllowed(const base::FilePath& profile_directory,
45 const GURL& manifest_url) override; 47 const GURL& manifest_url) override;
46 48
47 private: 49 private:
48 #if defined(ENABLE_EXTENSIONS) 50 #if defined(ENABLE_EXTENSIONS)
49 scoped_refptr<extensions::InfoMap> GetExtensionInfoMap( 51 scoped_refptr<extensions::InfoMap> GetExtensionInfoMap(
50 const base::FilePath& profile_directory); 52 const base::FilePath& profile_directory);
51 #endif 53 #endif
52 54
53 ProfileManager* profile_manager_; 55 ProfileManager* profile_manager_;
56 #if defined(ENABLE_EXTENSIONS)
54 std::vector<URLPattern> debug_patterns_; 57 std::vector<URLPattern> debug_patterns_;
58 #endif
55 bool inverse_debug_patterns_; 59 bool inverse_debug_patterns_;
56 std::set<std::string> allowed_nonsfi_origins_; 60 std::set<std::string> allowed_nonsfi_origins_;
57 DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl); 61 DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl);
58 }; 62 };
59 63
60 64
61 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_ 65 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROWSER_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698