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

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

Issue 23744004: Move the rest of extension_manifest_constants to top-level extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 7 years, 3 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
« no previous file with comments | « chrome/browser/extensions/installed_loader.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/requirements_checker.h" 5 #include "chrome/browser/extensions/requirements_checker.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/gpu/gpu_feature_checker.h" 9 #include "chrome/browser/gpu/gpu_feature_checker.h"
10 #include "chrome/common/extensions/extension.h" 10 #include "chrome/common/extensions/extension.h"
11 #include "chrome/common/extensions/extension_manifest_constants.h"
12 #include "chrome/common/extensions/manifest_handlers/requirements_handler.h" 11 #include "chrome/common/extensions/manifest_handlers/requirements_handler.h"
13 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
14 #include "extensions/common/manifest.h" 13 #include "extensions/common/manifest.h"
15 #include "gpu/config/gpu_feature_type.h" 14 #include "gpu/config/gpu_feature_type.h"
16 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
17 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
18 17
19 #if defined(OS_WIN) 18 #if defined(OS_WIN)
20 #include "base/win/metro.h" 19 #include "base/win/metro.h"
21 #endif // defined(OS_WIN) 20 #endif // defined(OS_WIN)
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 if (--pending_requirement_checks_ == 0) { 100 if (--pending_requirement_checks_ == 0) {
102 content::BrowserThread::PostTask(content::BrowserThread::UI, FROM_HERE, 101 content::BrowserThread::PostTask(content::BrowserThread::UI, FROM_HERE,
103 base::Bind(callback_, errors_)); 102 base::Bind(callback_, errors_));
104 // Reset the callback so any ref-counted bound parameters will get released. 103 // Reset the callback so any ref-counted bound parameters will get released.
105 callback_.Reset(); 104 callback_.Reset();
106 errors_.clear(); 105 errors_.clear();
107 } 106 }
108 } 107 }
109 108
110 } // namespace extensions 109 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/installed_loader.cc ('k') | chrome/browser/themes/theme_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698