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

Side by Side Diff: chrome/browser/extensions/extension_context_menu_browsertest.cc

Issue 16561007: Use a direct include of utf_string_conversions.h in chrome/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
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 "base/utf_string_conversions.h" 5 #include "base/strings/utf_string_conversions.h"
6 #include "chrome/app/chrome_command_ids.h" 6 #include "chrome/app/chrome_command_ids.h"
7 #include "chrome/browser/extensions/extension_browsertest.h" 7 #include "chrome/browser/extensions/extension_browsertest.h"
8 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
9 #include "chrome/browser/extensions/extension_system.h" 9 #include "chrome/browser/extensions/extension_system.h"
10 #include "chrome/browser/extensions/extension_test_message_listener.h" 10 #include "chrome/browser/extensions/extension_test_message_listener.h"
11 #include "chrome/browser/extensions/lazy_background_page_test_util.h" 11 #include "chrome/browser/extensions/lazy_background_page_test_util.h"
12 #include "chrome/browser/extensions/test_management_policy.h" 12 #include "chrome/browser/extensions/test_management_policy.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/tab_contents/render_view_context_menu.h" 14 #include "chrome/browser/tab_contents/render_view_context_menu.h"
15 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 ASSERT_TRUE(LoadContextMenuExtensionIncognito("incognito")); 583 ASSERT_TRUE(LoadContextMenuExtensionIncognito("incognito"));
584 584
585 // Wait for the extension's processes to tell us they've created an item. 585 // Wait for the extension's processes to tell us they've created an item.
586 ASSERT_TRUE(created.WaitUntilSatisfied()); 586 ASSERT_TRUE(created.WaitUntilSatisfied());
587 ASSERT_TRUE(created_incognito.WaitUntilSatisfied()); 587 ASSERT_TRUE(created_incognito.WaitUntilSatisfied());
588 ASSERT_EQ(2u, GetItems().size()); 588 ASSERT_EQ(2u, GetItems().size());
589 589
590 browser()->profile()->DestroyOffTheRecordProfile(); 590 browser()->profile()->DestroyOffTheRecordProfile();
591 ASSERT_EQ(1u, GetItems().size()); 591 ASSERT_EQ(1u, GetItems().size());
592 } 592 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_browsertest.cc ('k') | chrome/browser/extensions/extension_context_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698