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

Side by Side Diff: chrome/browser/extensions/api/developer_private/developer_private_api.h

Issue 197413002: Move extensions-related files to using //components/keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/files/file.h" 10 #include "base/files/file.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 102
103 explicit DeveloperPrivateAPI(content::BrowserContext* context); 103 explicit DeveloperPrivateAPI(content::BrowserContext* context);
104 virtual ~DeveloperPrivateAPI(); 104 virtual ~DeveloperPrivateAPI();
105 105
106 void SetLastUnpackedDirectory(const base::FilePath& path); 106 void SetLastUnpackedDirectory(const base::FilePath& path);
107 107
108 base::FilePath& GetLastUnpackedDirectory() { 108 base::FilePath& GetLastUnpackedDirectory() {
109 return last_unpacked_directory_; 109 return last_unpacked_directory_;
110 } 110 }
111 111
112 // BrowserContextKeyedService implementation 112 // KeyedService implementation
113 virtual void Shutdown() OVERRIDE; 113 virtual void Shutdown() OVERRIDE;
114 114
115 // EventRouter::Observer implementation. 115 // EventRouter::Observer implementation.
116 virtual void OnListenerAdded(const EventListenerInfo& details) OVERRIDE; 116 virtual void OnListenerAdded(const EventListenerInfo& details) OVERRIDE;
117 virtual void OnListenerRemoved(const EventListenerInfo& details) OVERRIDE; 117 virtual void OnListenerRemoved(const EventListenerInfo& details) OVERRIDE;
118 118
119 private: 119 private:
120 friend class BrowserContextKeyedAPIFactory<DeveloperPrivateAPI>; 120 friend class BrowserContextKeyedAPIFactory<DeveloperPrivateAPI>;
121 121
122 // BrowserContextKeyedAPI implementation. 122 // BrowserContextKeyedAPI implementation.
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 463
464 // ExtensionFunction: 464 // ExtensionFunction:
465 virtual bool RunImpl() OVERRIDE; 465 virtual bool RunImpl() OVERRIDE;
466 }; 466 };
467 467
468 } // namespace api 468 } // namespace api
469 469
470 } // namespace extensions 470 } // namespace extensions
471 471
472 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API _H_ 472 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API _H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/cookies/cookies_api.h ('k') | chrome/browser/extensions/api/dial/dial_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698