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

Side by Side Diff: chrome/browser/policy/cloud/user_policy_signin_service_factory.h

Issue 23701011: Fixed uninitialized pointer found by Coverity. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | 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 CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_
6 #define CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ 6 #define CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_
7 7
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "components/browser_context_keyed_service/browser_context_keyed_service _factory.h" 9 #include "components/browser_context_keyed_service/browser_context_keyed_service _factory.h"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // Register the preferences related to cloud-based user policy. 48 // Register the preferences related to cloud-based user policy.
49 virtual void RegisterProfilePrefs( 49 virtual void RegisterProfilePrefs(
50 user_prefs::PrefRegistrySyncable* registry) OVERRIDE; 50 user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
51 51
52 private: 52 private:
53 friend struct DefaultSingletonTraits<UserPolicySigninServiceFactory>; 53 friend struct DefaultSingletonTraits<UserPolicySigninServiceFactory>;
54 54
55 UserPolicySigninServiceFactory(); 55 UserPolicySigninServiceFactory();
56 virtual ~UserPolicySigninServiceFactory(); 56 virtual ~UserPolicySigninServiceFactory();
57 57
58 DeviceManagementService* device_management_service_;
59
60 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninServiceFactory); 58 DISALLOW_COPY_AND_ASSIGN(UserPolicySigninServiceFactory);
61 }; 59 };
62 60
63 } // namespace policy 61 } // namespace policy
64 62
65 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_ 63 #endif // CHROME_BROWSER_POLICY_CLOUD_USER_POLICY_SIGNIN_SERVICE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698