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

Unified Diff: chrome/browser/extensions/api/command_line_private/command_line_private_api.h

Issue 14027005: Implement Command Line Private extension API (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: rebase Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/command_line_private/command_line_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/command_line_private/command_line_private_api.h
===================================================================
--- chrome/browser/extensions/api/command_line_private/command_line_private_api.h (revision 0)
+++ chrome/browser/extensions/api/command_line_private/command_line_private_api.h (revision 0)
@@ -0,0 +1,24 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_API_COMMAND_LINE_PRIVATE_COMMAND_LINE_PRIVATE_API_H__
+#define CHROME_BROWSER_EXTENSIONS_API_COMMAND_LINE_PRIVATE_COMMAND_LINE_PRIVATE_API_H__
+
+#include "chrome/browser/extensions/extension_function.h"
+
+namespace extensions {
+
+class CommandLinePrivateHasSwitchFunction : public SyncExtensionFunction {
+ DECLARE_EXTENSION_FUNCTION("commandLinePrivate.hasSwitch",
+ COMMANDLINEPRIVATE_HASSWITCH)
+ protected:
+ virtual ~CommandLinePrivateHasSwitchFunction() {}
+
+ // ExtensionFunction:
+ virtual bool RunImpl() OVERRIDE;
+};
+
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_API_COMMAND_LINE_PRIVATE_COMMAND_LINE_PRIVATE_API_H__
Property changes on: chrome/browser/extensions/api/command_line_private/command_line_private_api.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | chrome/browser/extensions/api/command_line_private/command_line_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698