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

Side by Side Diff: chrome/browser/search/hotword_installer_browsertest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/macros.h"
5 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
6 #include "chrome/browser/extensions/extension_browsertest.h" 7 #include "chrome/browser/extensions/extension_browsertest.h"
7 #include "chrome/browser/extensions/webstore_startup_installer.h" 8 #include "chrome/browser/extensions/webstore_startup_installer.h"
8 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/search/hotword_service.h" 10 #include "chrome/browser/search/hotword_service.h"
10 #include "chrome/browser/search/hotword_service_factory.h" 11 #include "chrome/browser/search/hotword_service_factory.h"
11 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
12 #include "chrome/common/extensions/extension_constants.h" 13 #include "chrome/common/extensions/extension_constants.h"
13 #include "chrome/common/extensions/webstore_install_result.h" 14 #include "chrome/common/extensions/webstore_install_result.h"
14 #include "chrome/test/base/testing_profile.h" 15 #include "chrome/test/base/testing_profile.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 TestingProfile test_profile; 94 TestingProfile test_profile;
94 HotwordServiceFactory* hotword_service_factory = 95 HotwordServiceFactory* hotword_service_factory =
95 HotwordServiceFactory::GetInstance(); 96 HotwordServiceFactory::GetInstance();
96 MockHotwordService* hotword_service = static_cast<MockHotwordService*>( 97 MockHotwordService* hotword_service = static_cast<MockHotwordService*>(
97 hotword_service_factory->SetTestingFactoryAndUse( 98 hotword_service_factory->SetTestingFactoryAndUse(
98 &test_profile, BuildMockHotwordService)); 99 &test_profile, BuildMockHotwordService));
99 hotword_service->InstallHotwordExtensionFromWebstore(1); 100 hotword_service->InstallHotwordExtensionFromWebstore(1);
100 } 101 }
101 102
102 } // namespace extensions 103 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/search/hotword_audio_history_handler.h ('k') | chrome/browser/search/hotword_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698