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

Side by Side Diff: components/nacl/renderer/platform_info.h

Issue 399983002: Pepper: Refactor cpu feature attributes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H
6 #define COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H
7
8 namespace nacl {
9 // Returns the kind of SFI sandbox implemented by NaCl on this
10 // platform. See the implementation in platform_info.cc for possible
11 // values.
12 const char* GetSandboxArch();
13
14 // Returns the feature attributes for the system's processor. Used for PNaCl
15 // translation.
16 std::string GetCpuFeatureAttrs();
bbudge 2014/07/17 17:57:55 Since this now returns a string, perhaps it could
teravest 2014/07/17 18:01:40 Done.
17 } // namespace nacl
18
19 #endif // COMPONENTS_NACL_RENDERER_PLATFORM_INFO_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698