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 APPS_SHELL_COMMON_SHELL_APP_RUNTIME_H_ 6 #define APPS_SHELL_COMMON_SHELL_APP_RUNTIME_H_ 7 8 #include "base/macros.h" 9 10 namespace extensions { 11 12 // Support for a simplified implementation of the chrome.app.runtime API. 13 class ShellAppRuntime { 14 public: 15 // Returns the API name. 16 static const char* GetName(); 17 18 // Returns a simplified schema for the API. 19 static const char* GetSchema(); 20 21 private: 22 DISALLOW_IMPLICIT_CONSTRUCTORS(ShellAppRuntime); 23 }; 24 25 } // namespace extensions 26 27 #endif // APPS_SHELL_COMMON_SHELL_APP_RUNTIME_H_ 28