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

Side by Side Diff: chrome/browser/extensions/api/log_private/log_private_api.h

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_EXTENSIONS_API_LOG_PRIVATE_LOG_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_LOG_PRIVATE_LOG_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_LOG_PRIVATE_LOG_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_LOG_PRIVATE_LOG_PRIVATE_API_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 void Initialize(); 81 void Initialize();
82 82
83 void RegisterTempFileOnFileResourceSequence( 83 void RegisterTempFileOnFileResourceSequence(
84 const std::string& owner_extension_id, 84 const std::string& owner_extension_id,
85 const base::FilePath& file_path); 85 const base::FilePath& file_path);
86 86
87 // ExtensionRegistryObserver implementation. 87 // ExtensionRegistryObserver implementation.
88 void OnExtensionUnloaded(content::BrowserContext* browser_context, 88 void OnExtensionUnloaded(content::BrowserContext* browser_context,
89 const Extension* extension, 89 const Extension* extension,
90 UnloadedExtensionInfo::Reason reason) override; 90 UnloadedExtensionReason reason) override;
91 91
92 // NetLog::ThreadSafeObserver implementation: 92 // NetLog::ThreadSafeObserver implementation:
93 void OnAddEntry(const net::NetLogEntry& entry) override; 93 void OnAddEntry(const net::NetLogEntry& entry) override;
94 94
95 void PostPendingEntries(); 95 void PostPendingEntries();
96 void AddEntriesOnUI(std::unique_ptr<base::ListValue> value); 96 void AddEntriesOnUI(std::unique_ptr<base::ListValue> value);
97 97
98 // Creates a file that will be written to by net::WriteToFileNetLogObserver. 98 // Creates a file that will be written to by net::WriteToFileNetLogObserver.
99 void CreateTempNetLogFile(const std::string& owner_extension_id, 99 void CreateTempNetLogFile(const std::string& owner_extension_id,
100 base::ScopedFILE* file); 100 base::ScopedFILE* file);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // Callback for DebugLogWriter::StoreLogs() call. 198 // Callback for DebugLogWriter::StoreLogs() call.
199 void OnStoreLogsCompleted(const base::FilePath& log_path, bool succeeded); 199 void OnStoreLogsCompleted(const base::FilePath& log_path, bool succeeded);
200 // Callback for LogPrivateAPI::StopAllWatches() call. 200 // Callback for LogPrivateAPI::StopAllWatches() call.
201 void OnStopAllWatches(); 201 void OnStopAllWatches();
202 DISALLOW_COPY_AND_ASSIGN(LogPrivateDumpLogsFunction); 202 DISALLOW_COPY_AND_ASSIGN(LogPrivateDumpLogsFunction);
203 }; 203 };
204 204
205 } // namespace extensions 205 } // namespace extensions
206 206
207 #endif // CHROME_BROWSER_EXTENSIONS_API_LOG_PRIVATE_LOG_PRIVATE_API_H_ 207 #endif // CHROME_BROWSER_EXTENSIONS_API_LOG_PRIVATE_LOG_PRIVATE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698