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

Side by Side Diff: chrome/browser/extensions/extension_info_map.cc

Issue 61823004: Move chrome/common/extensions/incognito_handler.h to src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 #include "chrome/browser/extensions/extension_info_map.h" 5 #include "chrome/browser/extensions/extension_info_map.h"
6 6
7 #include "chrome/common/extensions/extension.h" 7 #include "chrome/common/extensions/extension.h"
8 #include "chrome/common/extensions/extension_set.h" 8 #include "chrome/common/extensions/extension_set.h"
9 #include "chrome/common/extensions/incognito_handler.h"
10 #include "chrome/common/url_constants.h" 9 #include "chrome/common/url_constants.h"
11 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
12 #include "extensions/common/constants.h" 11 #include "extensions/common/constants.h"
12 #include "extensions/common/manifest_handlers/incognito_info.h"
13 13
14 using content::BrowserThread; 14 using content::BrowserThread;
15 using extensions::Extension; 15 using extensions::Extension;
16 using extensions::UnloadedExtensionInfo; 16 using extensions::UnloadedExtensionInfo;
17 17
18 namespace { 18 namespace {
19 19
20 void CheckOnValidThread() { 20 void CheckOnValidThread() {
21 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); 21 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
22 } 22 }
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 bool ExtensionInfoMap::IsSigninProcess(int process_id) const { 176 bool ExtensionInfoMap::IsSigninProcess(int process_id) const {
177 return process_id == signin_process_id_; 177 return process_id == signin_process_id_;
178 } 178 }
179 179
180 ExtensionInfoMap::~ExtensionInfoMap() { 180 ExtensionInfoMap::~ExtensionInfoMap() {
181 if (quota_service_) { 181 if (quota_service_) {
182 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, 182 BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE,
183 quota_service_.release()); 183 quota_service_.release());
184 } 184 }
185 } 185 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/event_router.cc ('k') | chrome/browser/extensions/extension_process_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698