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

Side by Side Diff: chrome/browser/task_management/providers/web_contents/background_contents_tag_browsertest.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 "base/macros.h"
5 #include "base/strings/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
6 #include "chrome/browser/extensions/extension_browsertest.h" 7 #include "chrome/browser/extensions/extension_browsertest.h"
7 #include "chrome/browser/task_management/providers/web_contents/web_contents_tag s_manager.h" 8 #include "chrome/browser/task_management/providers/web_contents/web_contents_tag s_manager.h"
8 #include "chrome/browser/task_management/task_management_browsertest_util.h" 9 #include "chrome/browser/task_management/task_management_browsertest_util.h"
9 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
10 #include "chrome/grit/generated_resources.h" 11 #include "chrome/grit/generated_resources.h"
11 #include "content/public/common/content_switches.h" 12 #include "content/public/common/content_switches.h"
12 #include "extensions/common/switches.h" 13 #include "extensions/common/switches.h"
13 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
14 15
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 EXPECT_EQ(Task::RENDERER, task->GetType()); 118 EXPECT_EQ(Task::RENDERER, task->GetType());
118 EXPECT_EQ(GetBackgroundTaskExpectedName(extension), task->title()); 119 EXPECT_EQ(GetBackgroundTaskExpectedName(extension), task->title());
119 120
120 // Unload the extension. 121 // Unload the extension.
121 UnloadExtension(extension->id()); 122 UnloadExtension(extension->id());
122 EXPECT_EQ(1U, task_manager.tasks().size()); 123 EXPECT_EQ(1U, task_manager.tasks().size());
123 EXPECT_EQ(1U, tags_manager()->tracked_tags().size()); 124 EXPECT_EQ(1U, tags_manager()->tracked_tags().size());
124 } 125 }
125 126
126 } // namespace task_management 127 } // namespace task_management
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698