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

Side by Side Diff: chrome/browser/extensions/extension_test_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_EXTENSION_TEST_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_
7 #pragma once
8 7
9 #include "base/values.h" 8 #include "base/values.h"
10 #include "chrome/browser/extensions/extension_function.h" 9 #include "chrome/browser/extensions/extension_function.h"
11 10
12 template <typename T> struct DefaultSingletonTraits; 11 template <typename T> struct DefaultSingletonTraits;
13 12
14 // A function that is only available in tests. 13 // A function that is only available in tests.
15 // Prior to running, checks that we are in an extension process. 14 // Prior to running, checks that we are in an extension process.
16 class TestExtensionFunction : public SyncExtensionFunction { 15 class TestExtensionFunction : public SyncExtensionFunction {
17 protected: 16 protected:
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 DISALLOW_COPY_AND_ASSIGN(TestConfigState); 124 DISALLOW_COPY_AND_ASSIGN(TestConfigState);
126 }; 125 };
127 126
128 virtual ~ExtensionTestGetConfigFunction(); 127 virtual ~ExtensionTestGetConfigFunction();
129 128
130 // ExtensionFunction: 129 // ExtensionFunction:
131 virtual bool RunImpl() OVERRIDE; 130 virtual bool RunImpl() OVERRIDE;
132 }; 131 };
133 132
134 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_ 133 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TEST_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tab_util.h ('k') | chrome/browser/extensions/extension_test_message_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698