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

Side by Side Diff: chrome/browser/chromeos/note_taking_helper.h

Issue 2729503007: Remove Profile usage from //apps (Closed)
Patch Set: deps Created 3 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_
6 #define CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_ 6 #define CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 NO_APP_SPECIFIED = 6, 96 NO_APP_SPECIFIED = 6,
97 // No Android or Chrome apps were available. 97 // No Android or Chrome apps were available.
98 NO_APPS_AVAILABLE = 7, 98 NO_APPS_AVAILABLE = 7,
99 // This value must remain last and should be incremented when a new reason 99 // This value must remain last and should be incremented when a new reason
100 // is inserted. 100 // is inserted.
101 MAX = 8, 101 MAX = 8,
102 }; 102 };
103 103
104 // Callback used to launch a Chrome app. 104 // Callback used to launch a Chrome app.
105 using LaunchChromeAppCallback = base::Callback<void( 105 using LaunchChromeAppCallback = base::Callback<void(
106 Profile*, 106 content::BrowserContext* context,
107 const extensions::Extension*, 107 const extensions::Extension*,
108 std::unique_ptr<extensions::api::app_runtime::ActionData>, 108 std::unique_ptr<extensions::api::app_runtime::ActionData>,
109 const base::FilePath&)>; 109 const base::FilePath&)>;
110 110
111 // Intent action used to launch Android apps. 111 // Intent action used to launch Android apps.
112 static const char kIntentAction[]; 112 static const char kIntentAction[];
113 113
114 // Extension IDs for the development and released versions of the Google Keep 114 // Extension IDs for the development and released versions of the Google Keep
115 // Chrome app. 115 // Chrome app.
116 static const char kDevKeepExtensionId[]; 116 static const char kDevKeepExtensionId[];
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 content::NotificationRegistrar registrar_; 228 content::NotificationRegistrar registrar_;
229 229
230 base::WeakPtrFactory<NoteTakingHelper> weak_ptr_factory_; 230 base::WeakPtrFactory<NoteTakingHelper> weak_ptr_factory_;
231 231
232 DISALLOW_COPY_AND_ASSIGN(NoteTakingHelper); 232 DISALLOW_COPY_AND_ASSIGN(NoteTakingHelper);
233 }; 233 };
234 234
235 } // namespace chromeos 235 } // namespace chromeos
236 236
237 #endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_ 237 #endif // CHROME_BROWSER_CHROMEOS_NOTE_TAKING_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698