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

Side by Side Diff: base/path_service.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (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
« no previous file with comments | « base/os_compat_nacl.h ('k') | base/pending_task.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 BASE_PATH_SERVICE_H_ 5 #ifndef BASE_PATH_SERVICE_H_
6 #define BASE_PATH_SERVICE_H_ 6 #define BASE_PATH_SERVICE_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/base_export.h" 10 #include "base/base_export.h"
12 #include "base/base_paths.h" 11 #include "base/base_paths.h"
13 #include "build/build_config.h" 12 #include "build/build_config.h"
14 13
15 class FilePath; 14 class FilePath;
16 15
17 // The path service is a global table mapping keys to file system paths. It is 16 // The path service is a global table mapping keys to file system paths. It is
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 static void RegisterProvider(ProviderFunc provider, 61 static void RegisterProvider(ProviderFunc provider,
63 int key_start, 62 int key_start,
64 int key_end); 63 int key_end);
65 private: 64 private:
66 static bool GetFromCache(int key, FilePath* path); 65 static bool GetFromCache(int key, FilePath* path);
67 static bool GetFromOverrides(int key, FilePath* path); 66 static bool GetFromOverrides(int key, FilePath* path);
68 static void AddToCache(int key, const FilePath& path); 67 static void AddToCache(int key, const FilePath& path);
69 }; 68 };
70 69
71 #endif // BASE_PATH_SERVICE_H_ 70 #endif // BASE_PATH_SERVICE_H_
OLDNEW
« no previous file with comments | « base/os_compat_nacl.h ('k') | base/pending_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698