| 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 "content/shell/shell_browser_context.h" | 5 #include "content/shell/shell_browser_context.h" |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "content/browser/appcache/chrome_appcache_service.h" | 10 #include "content/browser/appcache/chrome_appcache_service.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 private: | 56 private: |
| 57 DISALLOW_COPY_AND_ASSIGN(ShellGeolocationPermissionContext); | 57 DISALLOW_COPY_AND_ASSIGN(ShellGeolocationPermissionContext); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 class ShellSpeechInputPreferences : public SpeechInputPreferences { | 60 class ShellSpeechInputPreferences : public SpeechInputPreferences { |
| 61 public: | 61 public: |
| 62 ShellSpeechInputPreferences() { | 62 ShellSpeechInputPreferences() { |
| 63 } | 63 } |
| 64 | 64 |
| 65 // SpeechInputPreferences implementation. | 65 // SpeechInputPreferences implementation. |
| 66 virtual bool censor_results() const OVERRIDE { | 66 virtual bool filter_profanities() const OVERRIDE { |
| 67 return false; | 67 return false; |
| 68 } | 68 } |
| 69 | 69 |
| 70 virtual void set_censor_results(bool censor_results) OVERRIDE { | 70 virtual void set_filter_profanities(bool filter_profanities) OVERRIDE { |
| 71 } | 71 } |
| 72 | 72 |
| 73 private: | 73 private: |
| 74 DISALLOW_COPY_AND_ASSIGN(ShellSpeechInputPreferences); | 74 DISALLOW_COPY_AND_ASSIGN(ShellSpeechInputPreferences); |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 } // namespace | 77 } // namespace |
| 78 | 78 |
| 79 namespace content { | 79 namespace content { |
| 80 | 80 |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 NewRunnableMethod( | 252 NewRunnableMethod( |
| 253 appcache_service_.get(), | 253 appcache_service_.get(), |
| 254 &ChromeAppCacheService::InitializeOnIOThread, | 254 &ChromeAppCacheService::InitializeOnIOThread, |
| 255 IsOffTheRecord() | 255 IsOffTheRecord() |
| 256 ? FilePath() : GetPath().Append(FILE_PATH_LITERAL("AppCache")), | 256 ? FilePath() : GetPath().Append(FILE_PATH_LITERAL("AppCache")), |
| 257 &GetResourceContext(), | 257 &GetResourceContext(), |
| 258 special_storage_policy)); | 258 special_storage_policy)); |
| 259 } | 259 } |
| 260 | 260 |
| 261 } // namespace content | 261 } // namespace content |
| OLD | NEW |