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

Side by Side Diff: chrome/browser/extensions/api/serial/serial_port_enumerator.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_SERIAL_SERIAL_PORT_ENUMERATOR_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_PORT_ENUMERATOR_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_PORT_ENUMERATOR_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_PORT_ENUMERATOR_H_
7 #pragma once
8 7
9 #include <set> 8 #include <set>
10 #include <string> 9 #include <string>
11 10
12 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
13 12
14 FORWARD_DECLARE_TEST(SerialPortEnumeratorTest, ValidPortNamePatterns); 13 FORWARD_DECLARE_TEST(SerialPortEnumeratorTest, ValidPortNamePatterns);
15 FORWARD_DECLARE_TEST(SerialPortEnumeratorTest, InvalidPortNamePatterns); 14 FORWARD_DECLARE_TEST(SerialPortEnumeratorTest, InvalidPortNamePatterns);
16 15
17 namespace extensions { 16 namespace extensions {
(...skipping 16 matching lines...) Expand all
34 // Returns a StringSet of patterns to be used with MatchPattern. 33 // Returns a StringSet of patterns to be used with MatchPattern.
35 static StringSet GenerateValidPatterns(); 34 static StringSet GenerateValidPatterns();
36 35
37 FRIEND_TEST_ALL_PREFIXES(::SerialPortEnumeratorTest, ValidPortNamePatterns); 36 FRIEND_TEST_ALL_PREFIXES(::SerialPortEnumeratorTest, ValidPortNamePatterns);
38 FRIEND_TEST_ALL_PREFIXES(::SerialPortEnumeratorTest, InvalidPortNamePatterns); 37 FRIEND_TEST_ALL_PREFIXES(::SerialPortEnumeratorTest, InvalidPortNamePatterns);
39 }; 38 };
40 39
41 } // namespace extensions 40 } // namespace extensions
42 41
43 #endif // CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_PORT_ENUMERATOR_H_ 42 #endif // CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_PORT_ENUMERATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/serial/serial_connection.h ('k') | chrome/browser/extensions/api/socket/socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698