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

Side by Side Diff: chrome/browser/extensions/api/notifications/notifications_apitest.cc

Issue 23257005: Move Feature and Manifest to top-level extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 "base/strings/stringprintf.h" 5 #include "base/strings/stringprintf.h"
6 #include "chrome/browser/browser_process.h" 6 #include "chrome/browser/browser_process.h"
7 #include "chrome/browser/chrome_notification_types.h" 7 #include "chrome/browser/chrome_notification_types.h"
8 #include "chrome/browser/extensions/api/notifications/notifications_api.h" 8 #include "chrome/browser/extensions/api/notifications/notifications_api.h"
9 #include "chrome/browser/extensions/extension_apitest.h" 9 #include "chrome/browser/extensions/extension_apitest.h"
10 #include "chrome/browser/extensions/extension_function_test_utils.h" 10 #include "chrome/browser/extensions/extension_function_test_utils.h"
11 #include "chrome/common/extensions/features/feature.h"
12 #include "content/public/browser/notification_service.h" 11 #include "content/public/browser/notification_service.h"
13 #include "content/public/test/test_utils.h" 12 #include "content/public/test/test_utils.h"
13 #include "extensions/common/features/feature.h"
14 #include "ui/message_center/message_center.h" 14 #include "ui/message_center/message_center.h"
15 #include "ui/message_center/message_center_switches.h" 15 #include "ui/message_center/message_center_switches.h"
16 #include "ui/message_center/message_center_util.h" 16 #include "ui/message_center/message_center_util.h"
17 17
18 using extensions::Extension; 18 using extensions::Extension;
19 19
20 namespace utils = extension_function_test_utils; 20 namespace utils = extension_function_test_utils;
21 21
22 namespace { 22 namespace {
23 23
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 "}]", 693 "}]",
694 browser(), 694 browser(),
695 utils::NONE)); 695 utils::NONE));
696 696
697 ASSERT_EQ(base::Value::TYPE_BOOLEAN, result->GetType()); 697 ASSERT_EQ(base::Value::TYPE_BOOLEAN, result->GetType());
698 bool copy_bool_value = false; 698 bool copy_bool_value = false;
699 ASSERT_TRUE(result->GetAsBoolean(&copy_bool_value)); 699 ASSERT_TRUE(result->GetAsBoolean(&copy_bool_value));
700 ASSERT_TRUE(copy_bool_value); 700 ASSERT_TRUE(copy_bool_value);
701 } 701 }
702 } 702 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698