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

Unified Diff: chrome/browser/chromeos/note_taking_helper_unittest.cc

Issue 2729503007: Remove Profile usage from //apps (Closed)
Patch Set: deps Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/note_taking_helper.h ('k') | chrome/browser/extensions/extension_system_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/note_taking_helper_unittest.cc
diff --git a/chrome/browser/chromeos/note_taking_helper_unittest.cc b/chrome/browser/chromeos/note_taking_helper_unittest.cc
index 737ce3904c2317da7c47545fb1d8a2b68ea765ba..7f241c7aacc82056adc1fcbd9541d700569853c3 100644
--- a/chrome/browser/chromeos/note_taking_helper_unittest.cc
+++ b/chrome/browser/chromeos/note_taking_helper_unittest.cc
@@ -35,6 +35,7 @@
#include "components/arc/test/fake_intent_helper_instance.h"
#include "components/crx_file/id_util.h"
#include "components/sync_preferences/testing_pref_service_syncable.h"
+#include "content/public/browser/browser_context.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_source.h"
#include "extensions/common/api/app_runtime.h"
@@ -280,11 +281,11 @@ class NoteTakingHelperTest : public BrowserWithTestWindowTest,
private:
// Callback registered with the helper to record Chrome app launch requests.
- void LaunchChromeApp(Profile* passed_profile,
+ void LaunchChromeApp(content::BrowserContext* passed_context,
const extensions::Extension* extension,
std::unique_ptr<app_runtime::ActionData> action_data,
const base::FilePath& path) {
- EXPECT_EQ(profile(), passed_profile);
+ EXPECT_EQ(profile(), passed_context);
EXPECT_EQ(app_runtime::ActionType::ACTION_TYPE_NEW_NOTE,
action_data->action_type);
launched_chrome_apps_.push_back(ChromeAppLaunchInfo{extension->id(), path});
« no previous file with comments | « chrome/browser/chromeos/note_taking_helper.h ('k') | chrome/browser/extensions/extension_system_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698