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

Side by Side Diff: chrome/browser/extensions/api/extension_action/extension_page_actions_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_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS_AP I_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS_AP I_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS_AP I_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS_AP I_H_
7 #pragma once
8 7
9 #include "chrome/browser/extensions/api/extension_action/extension_actions_api.h " 8 #include "chrome/browser/extensions/api/extension_action/extension_actions_api.h "
10 #include "chrome/browser/extensions/extension_function.h" 9 #include "chrome/browser/extensions/extension_function.h"
11 10
12 // Base class for deprecated page actions APIs 11 // Base class for deprecated page actions APIs
13 class PageActionsFunction : public SyncExtensionFunction { 12 class PageActionsFunction : public SyncExtensionFunction {
14 protected: 13 protected:
15 PageActionsFunction(); 14 PageActionsFunction();
16 virtual ~PageActionsFunction(); 15 virtual ~PageActionsFunction();
17 bool SetPageActionEnabled(bool enable); 16 bool SetPageActionEnabled(bool enable);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 94
96 class PageActionGetPopupFunction : public ExtensionActionGetPopupFunction { 95 class PageActionGetPopupFunction : public ExtensionActionGetPopupFunction {
97 public: 96 public:
98 DECLARE_EXTENSION_FUNCTION_NAME("pageAction.getPopup") 97 DECLARE_EXTENSION_FUNCTION_NAME("pageAction.getPopup")
99 98
100 protected: 99 protected:
101 virtual ~PageActionGetPopupFunction() {} 100 virtual ~PageActionGetPopupFunction() {}
102 }; 101 };
103 102
104 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS _API_H_ 103 #endif // CHROME_BROWSER_EXTENSIONS_API_EXTENSION_ACTION_EXTENSION_PAGE_ACTIONS _API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698