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

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

Issue 10834078: Cleanup: Constify more ExtensionService methods, and IWYU. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 years, 4 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 <string> 5 #include <string>
6 6
7 #include "base/command_line.h"
7 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
8 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
10 #include "chrome/common/chrome_notification_types.h" 11 #include "chrome/common/chrome_notification_types.h"
11 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
12 #include "chrome/common/extensions/extension.h" 13 #include "chrome/common/extensions/extension.h"
13 #include "chrome/common/extensions/permissions/permission_set.h" 14 #include "chrome/common/extensions/permissions/permission_set.h"
14 #include "chrome/test/base/in_process_browser_test.h" 15 #include "chrome/test/base/in_process_browser_test.h"
15 #include "chrome/test/base/ui_test_utils.h" 16 #include "chrome/test/base/ui_test_utils.h"
16 #include "content/public/browser/notification_details.h" 17 #include "content/public/browser/notification_details.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 APIPermission::kNotification)); 83 APIPermission::kNotification));
83 84
84 ASSERT_EQ(3u, installed_extension_->icons().map().size()); 85 ASSERT_EQ(3u, installed_extension_->icons().map().size());
85 EXPECT_EQ("icons/16.png", installed_extension_->icons().Get( 86 EXPECT_EQ("icons/16.png", installed_extension_->icons().Get(
86 16, ExtensionIconSet::MATCH_EXACTLY)); 87 16, ExtensionIconSet::MATCH_EXACTLY));
87 EXPECT_EQ("icons/48.png", installed_extension_->icons().Get( 88 EXPECT_EQ("icons/48.png", installed_extension_->icons().Get(
88 48, ExtensionIconSet::MATCH_EXACTLY)); 89 48, ExtensionIconSet::MATCH_EXACTLY));
89 EXPECT_EQ("icons/128.png", installed_extension_->icons().Get( 90 EXPECT_EQ("icons/128.png", installed_extension_->icons().Get(
90 128, ExtensionIconSet::MATCH_EXACTLY)); 91 128, ExtensionIconSet::MATCH_EXACTLY));
91 } 92 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/webstore_private/webstore_private_api.cc ('k') | chrome/browser/extensions/extension_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698