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

Side by Side Diff: content/shell/shell_browser_context.cc

Issue 8199010: Fixing misleading name a in speech input setting and related variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fixes. Landing if no problems in the bots. Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/speech/speech_recognizer.cc ('k') | 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) 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
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
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
OLDNEW
« no previous file with comments | « content/browser/speech/speech_recognizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698