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

Side by Side Diff: chrome/browser/extensions/api/tabs/execute_code_in_tab_function.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_TABS_EXECUTE_CODE_IN_TAB_FUNCTION_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_TABS_EXECUTE_CODE_IN_TAB_FUNCTION_H__
6 #define CHROME_BROWSER_EXTENSIONS_API_TABS_EXECUTE_CODE_IN_TAB_FUNCTION_H__ 6 #define CHROME_BROWSER_EXTENSIONS_API_TABS_EXECUTE_CODE_IN_TAB_FUNCTION_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 #include "chrome/common/extensions/extension_resource.h" 11 #include "chrome/common/extensions/extension_resource.h"
13 #include "chrome/common/extensions/user_script.h" 12 #include "chrome/common/extensions/user_script.h"
14 13
15 // Implement API call tabs.executeScript and tabs.insertCSS. 14 // Implement API call tabs.executeScript and tabs.insertCSS.
16 class ExecuteCodeInTabFunction : public AsyncExtensionFunction { 15 class ExecuteCodeInTabFunction : public AsyncExtensionFunction {
17 public: 16 public:
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 }; 70 };
72 71
73 class TabsInsertCSSFunction : public ExecuteCodeInTabFunction { 72 class TabsInsertCSSFunction : public ExecuteCodeInTabFunction {
74 private: 73 private:
75 virtual ~TabsInsertCSSFunction() {} 74 virtual ~TabsInsertCSSFunction() {}
76 75
77 DECLARE_EXTENSION_FUNCTION_NAME("tabs.insertCSS") 76 DECLARE_EXTENSION_FUNCTION_NAME("tabs.insertCSS")
78 }; 77 };
79 78
80 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_EXECUTE_CODE_IN_TAB_FUNCTION_H__ 79 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_EXECUTE_CODE_IN_TAB_FUNCTION_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/socket/udp_socket.h ('k') | chrome/browser/extensions/api/tabs/tabs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698