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

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

Issue 5730004: Rename ExtensionsService to ExtensionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_browsertest.h" 5 #include "chrome/browser/extensions/extension_browsertest.h"
6 #include "chrome/browser/extensions/extensions_service.h" 6 #include "chrome/browser/extensions/extension_service.h"
7 #include "chrome/browser/extensions/theme_installed_infobar_delegate.h" 7 #include "chrome/browser/extensions/theme_installed_infobar_delegate.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/tab_contents/tab_contents.h" 9 #include "chrome/browser/tab_contents/tab_contents.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/test/ui_test_utils.h" 11 #include "chrome/test/ui_test_utils.h"
12 12
13 namespace { 13 namespace {
14 14
15 // Theme ID used for testing. 15 // Theme ID used for testing.
16 const char* const theme_crx = "iamefpfkojoapidjnbafmgkgncegbkad"; 16 const char* const theme_crx = "iamefpfkojoapidjnbafmgkgncegbkad";
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 theme = browser()->profile()->GetTheme(); 53 theme = browser()->profile()->GetTheme();
54 ASSERT_TRUE(theme); 54 ASSERT_TRUE(theme);
55 ASSERT_EQ(theme_crx, theme->id()); 55 ASSERT_EQ(theme_crx, theme->id());
56 ASSERT_TRUE(InstallExtensionWithUI(theme_path, 0)); 56 ASSERT_TRUE(InstallExtensionWithUI(theme_path, 0));
57 theme = browser()->profile()->GetTheme(); 57 theme = browser()->profile()->GetTheme();
58 ASSERT_TRUE(theme); 58 ASSERT_TRUE(theme);
59 ASSERT_EQ(theme_crx, theme->id()); 59 ASSERT_EQ(theme_crx, theme->id());
60 VerifyThemeInfoBarAndUndoInstall(); 60 VerifyThemeInfoBarAndUndoInstall();
61 ASSERT_EQ(NULL, browser()->profile()->GetTheme()); 61 ASSERT_EQ(NULL, browser()->profile()->GetTheme());
62 } 62 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_incognito_apitest.cc ('k') | chrome/browser/extensions/extension_management_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698