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

Side by Side Diff: content/test/test_browser_context.cc

Issue 9568002: Renamed speech input implementation from to speech_recognition_*. The namespace has been renamed fr… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 9 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
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 #include "content/test/test_browser_context.h" 5 #include "content/test/test_browser_context.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "content/browser/mock_resource_context.h" 8 #include "content/browser/mock_resource_context.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "webkit/quota/special_storage_policy.h" 10 #include "webkit/quota/special_storage_policy.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 if (!resource_context_.get()) 56 if (!resource_context_.get())
57 resource_context_.reset(new content::MockResourceContext()); 57 resource_context_.reset(new content::MockResourceContext());
58 return resource_context_.get(); 58 return resource_context_.get();
59 } 59 }
60 60
61 content::GeolocationPermissionContext* 61 content::GeolocationPermissionContext*
62 TestBrowserContext::GetGeolocationPermissionContext() { 62 TestBrowserContext::GetGeolocationPermissionContext() {
63 return NULL; 63 return NULL;
64 } 64 }
65 65
66 content::SpeechInputPreferences* 66 content::SpeechRecognitionPreferences*
67 TestBrowserContext::GetSpeechInputPreferences() { 67 TestBrowserContext::GetSpeechRecognitionPreferences() {
68 return NULL; 68 return NULL;
69 } 69 }
70 70
71 bool TestBrowserContext::DidLastSessionExitCleanly() { 71 bool TestBrowserContext::DidLastSessionExitCleanly() {
72 return true; 72 return true;
73 } 73 }
74 74
75 quota::SpecialStoragePolicy* TestBrowserContext::GetSpecialStoragePolicy() { 75 quota::SpecialStoragePolicy* TestBrowserContext::GetSpecialStoragePolicy() {
76 return special_storage_policy_.get(); 76 return special_storage_policy_.get();
77 } 77 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698