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

Side by Side Diff: chrome/browser/extensions/api/terminal/terminal_private_api.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_EXTENSIONS_API_TERMINAL_TERMINAL_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_TERMINAL_TERMINAL_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_TERMINAL_TERMINAL_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_TERMINAL_TERMINAL_PRIVATE_API_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "chrome/browser/extensions/extension_function.h" 10 #include "chrome/browser/extensions/extension_function.h"
12 11
13 // Base class for all terminalPrivate function classes. Main purpose is to run 12 // Base class for all terminalPrivate function classes. Main purpose is to run
14 // permission check before calling actual function implementation. 13 // permission check before calling actual function implementation.
15 class TerminalPrivateFunction : public AsyncExtensionFunction { 14 class TerminalPrivateFunction : public AsyncExtensionFunction {
16 public: 15 public:
17 TerminalPrivateFunction(); 16 TerminalPrivateFunction();
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual ~OnTerminalResizeFunction(); 86 virtual ~OnTerminalResizeFunction();
88 87
89 virtual bool RunTerminalFunction() OVERRIDE; 88 virtual bool RunTerminalFunction() OVERRIDE;
90 89
91 private: 90 private:
92 void OnResizeOnFileThread(pid_t pid, int width, int height); 91 void OnResizeOnFileThread(pid_t pid, int width, int height);
93 void RespondOnUIThread(bool success); 92 void RespondOnUIThread(bool success);
94 }; 93 };
95 94
96 #endif // CHROME_BROWSER_EXTENSIONS_API_TERMINAL_TERMINAL_PRIVATE_API_H_ 95 #endif // CHROME_BROWSER_EXTENSIONS_API_TERMINAL_TERMINAL_PRIVATE_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/terminal/terminal_extension_helper.h ('k') | chrome/browser/extensions/api/usb/usb_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698