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

Side by Side Diff: mojo/services/files/c/lib/singletons.h

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « mojo/services/files/c/lib/real_errno_impl.cc ('k') | mojo/services/files/c/lib/singletons.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 SERVICES_FILES_C_LIB_SINGLETONS_H_ 5 #ifndef SERVICES_FILES_C_LIB_SINGLETONS_H_
6 #define SERVICES_FILES_C_LIB_SINGLETONS_H_ 6 #define SERVICES_FILES_C_LIB_SINGLETONS_H_
7 7
8 #include "files/public/interfaces/directory.mojom.h" 8 #include "files/interfaces/directory.mojom.h"
9 9
10 namespace mojio { 10 namespace mojio {
11 11
12 class DirectoryWrapper; 12 class DirectoryWrapper;
13 class ErrnoImpl; 13 class ErrnoImpl;
14 class FDTable; 14 class FDTable;
15 15
16 namespace singletons { 16 namespace singletons {
17 17
18 // Gets the singleton |ErrnoImpl| (creating it if necessary), which gets/sets 18 // Gets the singleton |ErrnoImpl| (creating it if necessary), which gets/sets
(...skipping 18 matching lines...) Expand all
37 // been reset, in which case it will also use the singleton |ErrnoImpl| (to set 37 // been reset, in which case it will also use the singleton |ErrnoImpl| (to set
38 // errno). 38 // errno).
39 DirectoryWrapper* GetCurrentWorkingDirectory(); 39 DirectoryWrapper* GetCurrentWorkingDirectory();
40 // Resets (destroys) the singleton |DirectoryWrapper|. 40 // Resets (destroys) the singleton |DirectoryWrapper|.
41 void ResetCurrentWorkingDirectory(); 41 void ResetCurrentWorkingDirectory();
42 42
43 } // namespace singletons 43 } // namespace singletons
44 } // namespace mojio 44 } // namespace mojio
45 45
46 #endif // SERVICES_FILES_C_LIB_SINGLETONS_H_ 46 #endif // SERVICES_FILES_C_LIB_SINGLETONS_H_
OLDNEW
« no previous file with comments | « mojo/services/files/c/lib/real_errno_impl.cc ('k') | mojo/services/files/c/lib/singletons.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698