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

Side by Side Diff: chrome/browser/extensions/extension_function_util.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_EXTENSION_FUNCTION_UTIL_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_UTIL_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_UTIL_H__ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_UTIL_H__
7 #pragma once
8 7
9 #include <vector> 8 #include <vector>
10 #include "base/values.h" 9 #include "base/values.h"
11 10
12 namespace base { 11 namespace base {
13 class Value; 12 class Value;
14 } 13 }
15 14
16 // This file contains various utility functions for extension API 15 // This file contains various utility functions for extension API
17 // implementations. 16 // implementations.
18 namespace extensions { 17 namespace extensions {
19 18
20 // Reads the |value| as either a single integer value or a list of integers. 19 // Reads the |value| as either a single integer value or a list of integers.
21 bool ReadOneOrMoreIntegers(base::Value* value, std::vector<int>* result); 20 bool ReadOneOrMoreIntegers(base::Value* value, std::vector<int>* result);
22 21
23 } // namespace extensions 22 } // namespace extensions
24 23
25 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_UTIL_H__ 24 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_UTIL_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_test_utils.h ('k') | chrome/browser/extensions/extension_global_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698