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

Side by Side Diff: chrome/browser/download/notification/download_notification_browsertest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stddef.h>
6
5 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/macros.h"
6 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
7 #include "base/path_service.h" 10 #include "base/path_service.h"
8 #include "base/prefs/pref_service.h" 11 #include "base/prefs/pref_service.h"
9 #include "base/run_loop.h" 12 #include "base/run_loop.h"
10 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/chromeos/profiles/profile_helper.h" 14 #include "chrome/browser/chromeos/profiles/profile_helper.h"
12 #include "chrome/browser/download/chrome_download_manager_delegate.h" 15 #include "chrome/browser/download/chrome_download_manager_delegate.h"
13 #include "chrome/browser/download/download_prefs.h" 16 #include "chrome/browser/download/download_prefs.h"
14 #include "chrome/browser/download/download_service.h" 17 #include "chrome/browser/download/download_service.h"
15 #include "chrome/browser/download/download_service_factory.h" 18 #include "chrome/browser/download/download_service_factory.h"
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1301 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, 1304 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT,
1302 GetNotification(notification_id_user1)->type()); 1305 GetNotification(notification_id_user1)->type());
1303 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, 1306 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT,
1304 GetNotification(notification_id_user2_1)->type()); 1307 GetNotification(notification_id_user2_1)->type());
1305 // Normal notifications for user2. 1308 // Normal notifications for user2.
1306 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, 1309 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT,
1307 GetNotification(notification_id_user2_1)->type()); 1310 GetNotification(notification_id_user2_1)->type());
1308 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, 1311 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT,
1309 GetNotification(notification_id_user2_2)->type()); 1312 GetNotification(notification_id_user2_2)->type());
1310 } 1313 }
OLDNEW
« no previous file with comments | « chrome/browser/download/notification/download_notification.cc ('k') | chrome/browser/download/save_package_file_picker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698