OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/profiles/profile_impl.h" | 5 #include "chrome/browser/profiles/profile_impl.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/environment.h" | 9 #include "base/environment.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 1662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1673 chrome_browser_net::Predictor* ProfileImpl::GetNetworkPredictor() { | 1673 chrome_browser_net::Predictor* ProfileImpl::GetNetworkPredictor() { |
1674 return predictor_; | 1674 return predictor_; |
1675 } | 1675 } |
1676 | 1676 |
1677 void ProfileImpl::ClearNetworkingHistorySince(base::Time time) { | 1677 void ProfileImpl::ClearNetworkingHistorySince(base::Time time) { |
1678 io_data_.ClearNetworkingHistorySince(time); | 1678 io_data_.ClearNetworkingHistorySince(time); |
1679 } | 1679 } |
1680 | 1680 |
1681 SpellCheckProfile* ProfileImpl::GetSpellCheckProfile() { | 1681 SpellCheckProfile* ProfileImpl::GetSpellCheckProfile() { |
1682 if (!spellcheck_profile_.get()) | 1682 if (!spellcheck_profile_.get()) |
1683 spellcheck_profile_.reset(new SpellCheckProfile()); | 1683 spellcheck_profile_.reset(new SpellCheckProfile(path_)); |
1684 return spellcheck_profile_.get(); | 1684 return spellcheck_profile_.get(); |
1685 } | 1685 } |
OLD | NEW |