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

Side by Side Diff: chrome/browser/policy/file_based_policy_loader.h

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_POLICY_FILE_BASED_POLICY_LOADER_H_ 5 #ifndef CHROME_BROWSER_POLICY_FILE_BASED_POLICY_LOADER_H_
6 #define CHROME_BROWSER_POLICY_FILE_BASED_POLICY_LOADER_H_ 6 #define CHROME_BROWSER_POLICY_FILE_BASED_POLICY_LOADER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/file_path_watcher/file_path_watcher.h" 9 #include "chrome/browser/file_path_watcher/file_path_watcher.h"
10 #include "chrome/browser/policy/asynchronous_policy_loader.h" 10 #include "chrome/browser/policy/asynchronous_policy_loader.h"
(...skipping 15 matching lines...) Expand all
26 virtual void Stop(); 26 virtual void Stop();
27 virtual void Reload(); 27 virtual void Reload();
28 28
29 void OnFilePathChanged(const FilePath& path); 29 void OnFilePathChanged(const FilePath& path);
30 void OnError(); 30 void OnError();
31 31
32 protected: 32 protected:
33 // FileBasedPolicyLoader objects should only be deleted by 33 // FileBasedPolicyLoader objects should only be deleted by
34 // RefCountedThreadSafe. 34 // RefCountedThreadSafe.
35 friend class base::RefCountedThreadSafe<AsynchronousPolicyLoader>; 35 friend class base::RefCountedThreadSafe<AsynchronousPolicyLoader>;
36 virtual ~FileBasedPolicyLoader() {} 36 virtual ~FileBasedPolicyLoader();
37 37
38 const FilePath& config_file_path() { return config_file_path_; } 38 const FilePath& config_file_path() { return config_file_path_; }
39 39
40 private: 40 private:
41 // Finishes initialization after the threading system has been fully 41 // Finishes initialization after the threading system has been fully
42 // intiialized. 42 // intiialized.
43 void InitAfterFileThreadAvailable(); 43 void InitAfterFileThreadAvailable();
44 44
45 // Creates the file path watcher and configures it watch |config_file_path_|. 45 // Creates the file path watcher and configures it watch |config_file_path_|.
46 // Must be called on the file thread. 46 // Must be called on the file thread.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // wall clock times come from the same source, just in case there is some 95 // wall clock times come from the same source, just in case there is some
96 // non-local filesystem involved. 96 // non-local filesystem involved.
97 base::Time last_modification_clock_; 97 base::Time last_modification_clock_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(FileBasedPolicyLoader); 99 DISALLOW_COPY_AND_ASSIGN(FileBasedPolicyLoader);
100 }; 100 };
101 101
102 } // namespace policy 102 } // namespace policy
103 103
104 #endif // CHROME_BROWSER_POLICY_FILE_BASED_POLICY_LOADER_H_ 104 #endif // CHROME_BROWSER_POLICY_FILE_BASED_POLICY_LOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/configuration_policy_pref_store.cc ('k') | chrome/browser/policy/file_based_policy_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698