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

Side by Side Diff: chrome/browser/extensions/api/api_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_API_FUNCTION_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_API_FUNCTION_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_API_FUNCTION_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_API_FUNCTION_H_
7 #pragma once
8 7
9 #include "chrome/browser/extensions/extension_function.h" 8 #include "chrome/browser/extensions/extension_function.h"
10 #include "chrome/browser/extensions/api/api_resource.h" 9 #include "chrome/browser/extensions/api/api_resource.h"
11 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
12 11
13 class ExtensionService; 12 class ExtensionService;
14 13
15 namespace extensions { 14 namespace extensions {
16 15
17 class APIResourceController; 16 class APIResourceController;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // If you don't want your Work() method to happen on the IO thread, then set 71 // If you don't want your Work() method to happen on the IO thread, then set
73 // this to the thread that you do want, preferably in Prepare(). 72 // this to the thread that you do want, preferably in Prepare().
74 content::BrowserThread::ID work_thread_id_; 73 content::BrowserThread::ID work_thread_id_;
75 74
76 ExtensionService* extension_service_; 75 ExtensionService* extension_service_;
77 }; 76 };
78 77
79 } // namespace extensions 78 } // namespace extensions
80 79
81 #endif // CHROME_BROWSER_EXTENSIONS_API_API_FUNCTION_H_ 80 #endif // CHROME_BROWSER_EXTENSIONS_API_API_FUNCTION_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/alarms/alarms_api.h ('k') | chrome/browser/extensions/api/api_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698