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

Side by Side Diff: chrome/browser/chromeos/extensions/input_method_apitest_chromeos.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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 "chrome/browser/extensions/extension_apitest.h" 5 #include "chrome/browser/extensions/extension_apitest.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/strings/stringprintf.h"
12 #include "chrome/browser/chromeos/extensions/input_method_event_router.h" 11 #include "chrome/browser/chromeos/extensions/input_method_event_router.h"
13 #include "chrome/browser/chromeos/input_method/input_method_util.h" 12 #include "chrome/browser/chromeos/input_method/input_method_util.h"
14 #include "chrome/common/chrome_features.h" 13 #include "chrome/common/chrome_features.h"
15 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
16 #include "chromeos/chromeos_switches.h" 15 #include "chromeos/chromeos_switches.h"
17 #include "components/prefs/pref_service.h" 16 #include "components/prefs/pref_service.h"
18 #include "content/public/browser/notification_observer.h" 17 #include "content/public/browser/notification_observer.h"
19 #include "content/public/browser/notification_registrar.h" 18 #include "content/public/browser/notification_registrar.h"
20 #include "content/public/browser/notification_service.h" 19 #include "content/public/browser/notification_service.h"
21 #include "content/public/common/content_switches.h" 20 #include "content/public/common/content_switches.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 144
146 ASSERT_TRUE(activated_listener.WaitUntilSatisfied()) << message_; 145 ASSERT_TRUE(activated_listener.WaitUntilSatisfied()) << message_;
147 ASSERT_TRUE(menu_listener.WaitUntilSatisfied()) << message_; 146 ASSERT_TRUE(menu_listener.WaitUntilSatisfied()) << message_;
148 ASSERT_TRUE(item_activated_listenter.WaitUntilSatisfied()) << message_; 147 ASSERT_TRUE(item_activated_listenter.WaitUntilSatisfied()) << message_;
149 148
150 InputMethodManager::Get()->GetActiveIMEState()->ChangeInputMethod( 149 InputMethodManager::Get()->GetActiveIMEState()->ChangeInputMethod(
151 kTestIMEID2, false /* show_message */); 150 kTestIMEID2, false /* show_message */);
152 engine_handler->Enable("test2"); 151 engine_handler->Enable("test2");
153 ASSERT_TRUE(list_listenter.WaitUntilSatisfied()) << message_; 152 ASSERT_TRUE(list_listenter.WaitUntilSatisfied()) << message_;
154 } 153 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698